home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM 1995 Fall / PD-ROM F95.toast / Programming / Programming Utilities / ViewIt 2.04 ƒ / ViewIt™ 2.04 Shareware / About Compilers next >
MacOS Executable  |  1992-08-11  |  45.1 KB  |  [APPL/????]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacOS Executable (executable/macOSExecutable).

You can browse this item here: About Compilers

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert MacOS Executable (executable/macOSExecutable) magic Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, Mon Jan 27 12:29:40 1992, modified Tue Aug 11 16:35:09 1992, creator '????', type application "About Compilers", at 0x80 46076 bytes resource Apple HFS/HFS+ resource fork, map offset 0xb0b3, map length 0x349, data length 0xafb3, at 16 0x05222f2d, nextResourceMap 0x53474, fileRef 0x11c, list offset 0x1c, name offset 0x262, 17 types, 0x44415441 'DATA' * 1 resource offset 0x8a default (weak)
99% file Adobe Photoshop Color swatch, version 0, 256 colors; 1st RGB space (0), w 0xb0b3, x 0, y 0xafb3, z 0 ; 2nd space (841), w 0x522, x 0x2f2d, y 0xa760, z 0x3f3c default (weak)
98% file data default
74% TrID Macintosh Application (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[APPL]
macFileCreator[????]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0f 41 62 6f 75 74 20 | 43 6f 6d 70 69 6c 65 72 |..About |Compiler|
|00000010| 73 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 41 50 50 4c 3f 3f 3f | 3f 00 00 00 00 00 00 00 |.APPL???|?.......|
|00000050| 00 00 00 00 00 00 00 00 | 00 b3 fc a5 a9 f2 04 a6 |........|........|
|00000060| ad d4 fd 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f7 d8 00 00 |........|........|
|00000080| 00 00 01 00 00 00 b0 b3 | 00 00 af b3 00 00 03 49 |........|.......I|
|00000090| 05 22 2f 2d a7 60 3f 3c | 00 0a 48 6e fe f0 a9 47 |."/-.`?<|..Hn...G|
|000000a0| 4e ad 09 0a ba 2d ac 6e | 56 c0 4a 00 67 12 55 4f |N....-.n|V.J.g.UO|
|000000b0| 0f 41 62 6f 75 74 20 43 | 6f 6d 70 69 6c 65 72 73 |.About C|ompilers|
|000000c0| 02 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 ac 28 52 d6 00 00 | 00 00 00 00 b3 fc 49 f0 |...(R...|......I.|
|00000100| 00 00 0c ac 54 45 58 54 | 00 20 57 c0 0c ac 51 50 |....TEXT|. W...QP|
|00000110| 45 44 00 20 57 c1 80 01 | 67 06 19 7c 00 01 00 34 |ED. W...|g..|...4|
|00000120| 52 47 69 06 be 6e fd ea | 6f ca 4e ad 09 12 60 00 |RGi..n..|o.N...`.|
|00000130| 00 76 55 4f 3f 3c 01 61 | 4e ad 05 42 4a 1f 67 66 |.vUO?<.a|N..BJ.gf|
|00000140| 4e ba fd 5a 60 60 55 4f | 3f 3c 01 61 4e ad 05 42 |N..Z``UO|?<.aN..B|
|00000150| 4a 1f 67 52 1f 06 4e ba | fb 52 60 4a 55 4f 3f 3c |J.gR..N.|.R`JUO?<|
|00000160| 01 59 4e ad 05 42 4a 1f | 67 3c 1f 06 4e ba fd 8c |.YN..BJ.|g<..N...|
|00000170| 60 34 53 40 0c 40 00 11 | 64 2c d0 40 30 3b 00 06 |`4S@.@..|d,.@0;..|
|00000180| 00 00 00 12 00 00 0c 50 | 72 69 6e 74 65 72 20 44 |.......P|rinter D|
|00000190| 75 6d 70 00 00 00 00 00 | 00 00 00 00 00 04 00 2c |ump.....|.......,|
|000001a0| 05 f4 00 00 04 de 00 00 | 00 02 20 2d f3 b2 67 04 |........|.. -..g.|
|000001b0| 20 40 4e 90 20 2d f5 08 | 67 04 20 40 4e 90 a9 f4 | @N. -..|g. @N...|
|000001c0| 4e ba 00 4e 2c 4d 53 6d | ff de 3b 7c 00 02 ff dc |N..N,MSm|..;|....|
|000001d0| 42 6d ff d6 42 ad f3 b2 | 42 ad f3 b6 42 ad f3 ba |Bm..B...|B...B...|
|000001e0| 42 ad f3 be 42 6d f3 ee | 42 6d f3 f0 50 ed f3 f2 |B...Bm..|Bm..P...|
|000001f0| 50 ed f3 f3 51 ed f3 f4 | 51 ed f3 f5 42 ad f5 08 |P...Q...|Q...B...|
|00000200| 30 3c 07 d0 4e ba 00 98 | 20 50 2b 48 f3 ae 4e 75 |0<..N...| P+H..Nu|
|00000210| 59 8f 2f 3c 5a 45 52 4f | 42 67 a9 a0 20 17 67 0e |Y./<ZERO|Bg.. .g.|
|00000220| 42 67 2f 00 a9 a4 30 1f | b0 78 09 00 67 04 58 8f |Bg/...0.|.x..g.X.|
|00000230| 4e 75 24 57 59 8f 2f 3c | 44 41 54 41 42 67 a9 a0 |Nu$WY./<|DATABg..|
|00000240| 20 57 20 50 22 78 09 08 | 24 52 60 0e 32 d8 66 0a | W P"x..|$R`.2.f.|
|00000250| 32 1a 60 02 42 59 51 c9 | ff fc bb c9 66 ee a9 a3 |2.`.BYQ.|....f...|
|00000260| a9 a3 59 8f 2f 3c 44 52 | 45 4c 42 67 a9 a0 20 57 |..Y./<DR|ELBg.. W|
|00000270| a0 25 20 50 e2 40 24 0d | 60 06 32 18 d5 b5 10 00 |.% P.@$.|`.2.....|
|00000280| 51 c8 ff f8 a9 a3 4e 75 | 48 7a 00 10 3f 3c 00 01 |Q.....Nu|Hz..?<..|
|00000290| a9 eb 4e 75 48 7a 00 06 | 60 f2 00 00 00 0d 59 8f |..NuHz..|`.....Y.|
|000002a0| 2f 3c 4c 53 50 20 3f 00 | a9 a0 20 5f 20 08 4e 75 |/<LSP ?.|.. _ .Nu|
|000002b0| 4e 75 22 5f 20 1f 08 38 | 00 06 02 8e 66 06 a0 55 |Nu"_ ..8|....f..U|
|000002c0| 2e 80 4e d1 c0 b8 03 1a | 2e 80 4e d1 4e 56 ff ec |..N.....|..N.NV..|
|000002d0| 48 e7 01 08 28 6e 00 18 | 20 0c 66 02 4e 40 59 4f |H...(n..| .f.N@YO|
|000002e0| 2f 3c 46 43 4d 44 3f 3c | 03 e8 a9 a0 20 5f 20 08 |/<FCMD?<|.... _ .|
|000002f0| 66 02 4e 40 28 90 20 2e | 00 14 81 fc 00 01 4e 76 |f.N@(. .|......Nv|
|00000300| 39 40 00 04 20 2e 00 10 | 81 fc 00 01 4e 76 39 40 |9@.. ...|....Nv9@|
|00000310| 00 06 42 6c 00 08 20 2e | 00 0c 81 fc 00 01 4e 76 |..Bl.. .|......Nv|
|00000320| 39 40 00 0a 29 6e 00 08 | 00 0c 4a 6d fe 5e 6f 00 |9@..)n..|..Jm.^o.|
|00000330| 00 a2 30 2d fe 5e 53 40 | 4e 76 3d 40 ff ec 42 47 |..0-.^S@|Nv=@..BG|
|00000340| 60 00 00 88 30 07 e5 40 | 4e 76 52 40 4e 76 32 00 |`...0..@|NvR@Nv2.|
|00000350| 53 41 43 bc 00 27 e5 40 | 32 2c 00 04 48 c1 06 40 |SAC..'.@|2,..H..@|
|00000360| fe 5c b2 b5 00 00 66 5e | 30 07 e5 40 4e 76 54 40 |.\....f^|0..@NvT@|
|00000370| 4e 76 32 00 53 41 43 bc | 00 27 e5 40 32 2c 00 06 |Nv2.SAC.|.'.@2,..|
|00000380| 48 c1 06 40 fe 5c b2 b5 | 00 00 66 3a 30 07 e5 40 |H..@.\..|..f:0..@|
|00000390| 4e 76 58 40 4e 76 32 00 | 53 41 43 bc 00 27 e5 40 |NvX@Nv2.|SAC..'.@|
|000003a0| 06 40 fe 5c 4a b5 00 00 | 67 1c 30 07 e5 40 4e 76 |.@.\J...|g.0..@Nv|
|000003b0| 58 40 4e 76 32 00 53 41 | 43 bc 00 27 e5 40 06 40 |X@Nv2.SA|C..'.@.@|
|000003c0| fe 5c 28 b5 00 00 52 47 | 69 08 be 6e ff ec 6f 00 |.\(...RG|i..n..o.|
|000003d0| ff 74 4c df 10 80 4e 5e | 20 5f 4f ef 00 14 4e d0 |.tL...N^| _O...N.|
|000003e0| 50 52 45 50 49 54 20 20 | 4e 56 ff ee 48 e7 1f 08 |PREPIT |NV..H...|
|000003f0| 28 6e 00 1c 2e 2e 00 18 | 2a 2e 00 10 28 2e 00 08 |(n......|*...(...|
|00000400| 26 2e 00 14 70 c3 be 80 | 66 00 01 14 70 ff b0 ae |&...p...|f...p...|
|00000410| 00 0c 5d c0 2f 00 55 4f | 48 6e 00 0c 70 1f 2f 00 |..]./.UO|Hn..p./.|
|00000420| a8 5d 12 1f 20 1f 53 01 | c0 01 67 1c 3f 3c 00 3e |.].. .S.|..g.?<.>|
|00000430| 42 67 20 1f a0 32 48 6d | ff ca a8 6e a8 fe a9 12 |Bg ..2Hm|...n....|
|00000440| a9 30 a9 cc 42 a7 a9 7b | 59 4f 2f 3c 46 43 4d 44 |.0..B..{|YO/<FCMD|
|00000450| 3f 3c 03 e8 a9 a0 4a 9f | 66 1e 55 4f 59 4f 48 6d |?<....J.|f.UOYOHm|
|00000460| fa 5a 4e ba fe 4e 20 5f | 20 08 66 02 4e 40 2f 08 |.ZN..N _| .f.N@/.|
|00000470| a9 97 4a 5f 6c 02 a9 f4 | 2b 43 f5 32 20 04 81 fc |..J_l...|+C.2 ...|
|00000480| 00 01 4e 76 3b 40 fe 5e | 41 ed f5 0c 28 48 70 ff |..Nv;@.^|A...(Hp.|
|00000490| ba 80 6f 16 2f 0c 2f 05 | 42 a7 42 a7 2f 0c 4e ba |..o././.|B.B./.N.|
|000004a0| fe 2c 2f 0c 22 57 20 51 | 4e 90 2f 0c 2f 3c 00 00 |.,/."W Q|N././<..|
|000004b0| 04 4c 70 14 2f 00 42 a7 | 2f 0c 4e ba fe 10 48 6d |.Lp./.B.|/.N...Hm|
|000004c0| f7 34 2f 3c 00 00 04 6a | 70 0a 2f 00 42 a7 2f 0c |.4/<...j|p./.B./.|
|000004d0| 4e ba fd fa 48 6d f8 f6 | 2f 3c 00 00 04 56 70 14 |N...Hm..|/<...Vp.|
|000004e0| 2f 00 42 a7 2f 0c 4e ba | fd e4 48 6d fb 6e 2f 3c |/.B./.N.|..Hm.n/<|
|000004f0| 00 00 04 b0 70 14 2f 00 | 42 a7 2f 0c 4e ba fd ce |....p./.|B./.N...|
|00000500| 20 2e 00 0c 81 fc 00 01 | 4e 76 3b 40 f5 16 42 6d | .......|Nv;@..Bm|
|00000510| f9 00 99 cc 70 fd b0 ae | 00 0c 6e 00 00 ee 70 c2 |....p...|..n...p.|
|00000520| be 80 66 16 2f 03 2f 05 | 2f 2e 00 0c 2f 04 48 6d |..f././.|/.../.Hm|
|00000530| f5 0c 4e ba fd 98 60 00 | 00 d2 4a 87 5d c0 72 f5 |..N...`.|..J.].r.|
|00000540| be 81 5e c1 c0 01 67 72 | 7c ff 9c 87 4e 76 e5 86 |..^...gr||...Nv..|
|00000550| 8d fc 00 01 4e 76 30 06 | 52 40 4e 76 32 00 53 41 |....Nv0.|R@Nv2.SA|
|00000560| 43 bc 00 27 e5 40 06 40 | fe 5c 2b 83 00 00 30 06 |C..'.@.@|.\+...0.|
|00000570| 54 40 4e 76 32 00 53 41 | 43 bc 00 27 e5 40 06 40 |T@Nv2.SA|C..'.@.@|
|00000580| fe 5c 2b 85 00 00 30 06 | 56 40 4e 76 32 00 53 41 |.\+...0.|V@Nv2.SA|
|00000590| 43 bc 00 27 e5 40 06 40 | fe 5c 2b ae 00 0c 00 00 |C..'.@.@|.\+.....|
|000005a0| 30 06 58 40 4e 76 32 00 | 53 41 43 bc 00 27 e5 40 |0.X@Nv2.|SAC..'.@|
|000005b0| 06 40 fe 5c 2b 84 00 00 | 60 50 20 0c 66 08 41 ed |.@.\+...|`P .f.A.|
|000005c0| f8 f6 28 48 60 1c 20 0c | 66 02 4e 40 20 2c 00 0c |..(H`. .|f.N@ ,..|
|000005d0| 41 ed f5 0c b0 88 67 0a | 2b 4c fb b2 41 ed fb 6e |A.....g.|+L..A..n|
|000005e0| 28 48 20 0c 66 02 4e 40 | 42 6c 00 08 2b 47 f9 3a |(H .f.N@|Bl..+G.:|
|000005f0| 2b 43 f9 3e 2b 45 f9 42 | 2b 6e 00 0c f9 46 2b 44 |+C.>+E.B|+n...F+D|
|00000600| f9 4a 2f 0c 22 57 20 51 | 4e 90 4c df 10 f8 4e 5e |.J/."W Q|N.L...N^|
|00000610| 20 5f 4f ef 00 18 4e d0 | 46 41 43 45 49 54 20 20 | _O...N.|FACEIT |
|00000620| 4e ba fb 9e 4e ba fc 8a | 4e ba fc 6a 4e 56 00 00 |N...N...|N..jNV..|
|00000630| 41 fa 00 44 43 ed fa 5a | 22 d8 22 d8 22 d8 22 d8 |A..DC..Z|".".".".|
|00000640| 42 a7 70 c3 2f 00 42 a7 | 42 a7 42 a7 42 a7 4e ba |B.p./.B.|B.B.B.N.|
|00000650| fd 98 42 a7 42 a7 42 a7 | 42 a7 42 a7 42 a7 4e ba |..B.B.B.|B.B.B.N.|
|00000660| fd 88 60 ee 4e 5e 4e ba | fb 42 4e 5e 4e 75 41 42 |..`.N^N.|.BN^NuAB|
|00000670| 4f 55 54 43 53 20 0d 41 | 62 6f 75 74 20 43 53 2e |OUTCS .A|bout CS.|
|00000680| 52 73 72 63 00 00 00 20 | 00 00 00 30 00 00 0c 52 |Rsrc... |...0...R|
|00000690| 00 00 00 10 00 00 00 20 | 04 76 3f 3c 00 01 a9 f0 |....... |.v?<....|
|000006a0| 04 76 3f 3c 00 01 a9 f0 | 00 00 00 12 00 00 40 00 |.v?<....|......@.|
|000006b0| 00 08 00 00 00 04 00 09 | 13 88 00 00 00 00 00 00 |........|........|
|000006c0| 02 20 50 6f 69 6e 74 65 | 72 73 0d 20 20 54 6f 6f |. Pointe|rs. Too|
|000006d0| 6c 62 6f 78 20 61 6e 64 | 20 46 61 63 65 57 61 72 |lbox and| FaceWar|
|000006e0| 65 20 70 72 6f 67 72 61 | 6d 6d 69 6e 67 20 6f 66 |e progra|mming of|
|000006f0| 74 65 6e 20 72 65 71 75 | 69 72 65 73 20 79 6f 75 |ten requ|ires you|
|00000700| 20 74 6f 20 66 69 6e 64 | 20 6d 65 6d 6f 72 79 20 | to find| memory |
|00000710| 61 64 64 72 65 73 73 65 | 73 20 28 70 6f 69 6e 74 |addresse|s (point|
|00000720| 65 72 73 29 20 6f 66 20 | 72 65 63 6f 72 64 73 2c |ers) of |records,|
|00000730| 20 61 72 72 61 79 73 2c | 20 6f 72 20 6e 75 6d 62 | arrays,| or numb|
|00000740| 65 72 73 2e 20 20 54 68 | 65 20 66 6f 6c 6c 6f 77 |ers. Th|e follow|
|00000750| 69 6e 67 20 74 61 62 6c | 65 20 70 72 65 73 65 6e |ing tabl|e presen|
|00000760| 74 73 20 74 68 65 20 65 | 78 70 72 65 73 73 69 6f |ts the e|xpressio|
|00000770| 6e 73 20 73 75 70 70 6f | 72 74 65 64 20 62 79 20 |ns suppo|rted by |
|00000780| 65 61 63 68 20 63 6f 6d | 70 69 6c 65 72 20 74 68 |each com|piler th|
|00000790| 61 74 20 77 6f 75 6c 64 | 20 72 65 74 75 72 6e 20 |at would| return |
|000007a0| 74 68 65 20 61 64 64 72 | 65 73 73 20 6f 66 20 74 |the addr|ess of t|
|000007b0| 68 65 20 22 74 68 69 6e | 67 22 2e 20 20 54 68 65 |he "thin|g". The|
|000007c0| 20 22 74 68 69 6e 67 22 | 20 6d 69 67 68 74 2c 20 | "thing"| might, |
|000007d0| 66 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 62 65 20 |for exam|ple, be |
|000007e0| 61 20 6d 6f 64 75 6c 65 | 27 73 20 73 68 61 72 65 |a module|'s share|
|000007f0| 64 20 72 65 63 6f 72 64 | 2e 0d 0d 20 63 6f 6d 70 |d record|... comp|
|00000800| 69 6c 65 72 20 20 20 6d | 65 6d 6f 72 79 20 61 64 |iler m|emory ad|
|00000810| 64 72 65 73 73 20 6f 66 | 20 74 68 65 20 d2 74 68 |dress of| the .th|
|00000820| 69 6e 67 d3 0d 20 4c 43 | 2c 20 57 43 20 20 20 20 |ing.. LC|, WC |
|00000830| 20 26 74 68 69 6e 67 09 | 09 2e 2e 2e 69 66 20 6e | &thing.|....if n|
|00000840| 6f 6e 2d 61 72 72 61 79 | 20 6f 72 20 61 6e 20 61 |on-array| or an a|
|00000850| 72 72 61 79 20 65 6c 65 | 6d 65 6e 74 0d 20 20 20 |rray ele|ment. |
|00000860| 20 20 20 20 20 20 20 20 | 20 74 68 69 6e 67 09 09 | | thing..|
|00000870| 09 2e 2e 2e 69 66 20 61 | 6e 20 61 72 72 61 79 0d |....if a|n array.|
|00000880| 20 41 46 2c 20 4c 46 20 | 20 20 20 20 25 4c 4f 43 | AF, LF | %LOC|
|00000890| 28 74 68 69 6e 67 29 0d | 20 4d 46 20 20 20 20 20 |(thing).| MF |
|000008a0| 20 20 20 20 74 6f 6f 6c | 62 78 28 50 54 52 2c 74 | tool|bx(PTR,t|
|000008b0| 68 69 6e 67 29 09 09 2e | 2e 2e 61 20 70 73 65 75 |hing)...|..a pseu|
|000008c0| 64 6f 2d 74 6f 6f 6c 62 | 6f 78 20 63 61 6c 6c 0d |do-toolb|ox call.|
|000008d0| 20 4c 50 2c 20 57 50 20 | 20 20 20 20 40 74 68 69 | LP, WP | @thi|
|000008e0| 6e 67 00 00 1d ba 53 74 | 72 69 6e 67 73 0d 20 20 |ng....St|rings. |
|000008f0| 53 74 72 69 6e 67 20 54 | 79 70 65 73 20 20 54 68 |String T|ypes Th|
|00000900| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 64 69 73 63 |e follow|ing disc|
|00000910| 75 73 73 69 6f 6e 20 64 | 6f 65 73 20 6e 6f 74 20 |ussion d|oes not |
|00000920| 72 65 6c 69 67 69 6f 75 | 73 6c 79 20 66 6f 6c 6c |religiou|sly foll|
|00000930| 6f 77 20 65 61 63 68 20 | 6c 61 6e 67 75 61 67 65 |ow each |language|
|00000940| 73 20 70 65 63 75 6c 69 | 61 72 20 75 73 65 20 6f |s peculi|ar use o|
|00000950| 66 20 74 68 65 20 74 65 | 72 6d 73 20 22 73 74 72 |f the te|rms "str|
|00000960| 69 6e 67 22 2c 20 22 63 | 68 61 72 61 63 74 65 72 |ing", "c|haracter|
|00000970| 22 2c 20 22 61 72 72 61 | 79 20 6f 66 20 63 68 61 |", "arra|y of cha|
|00000980| 72 61 63 74 65 72 73 22 | 2c 20 65 74 63 2e 20 20 |racters"|, etc. |
|00000990| 54 68 65 20 74 65 72 6d | 20 22 73 74 72 69 6e 67 |The term| "string|
|000009a0| 22 20 69 73 20 73 69 6d | 70 6c 79 20 75 73 65 64 |" is sim|ply used|
|000009b0| 20 74 6f 20 64 65 6e 6f | 74 65 20 77 68 61 74 65 | to deno|te whate|
|000009c0| 76 65 72 20 64 61 74 61 | 20 74 79 70 65 20 63 6f |ver data| type co|
|000009d0| 72 72 65 73 70 6f 6e 64 | 73 20 74 6f 20 74 68 65 |rrespond|s to the|
|000009e0| 20 70 72 69 6d 61 72 79 | 20 6f 6e 65 20 75 73 65 | primary| one use|
|000009f0| 64 20 62 79 20 61 20 6c | 61 6e 67 75 61 67 65 20 |d by a l|anguage |
|00000a00| 74 6f 20 6d 61 6e 69 70 | 75 6c 61 74 65 20 62 6c |to manip|ulate bl|
|00000a10| 6f 63 6b 73 20 6f 66 20 | 41 53 43 49 49 20 63 68 |ocks of |ASCII ch|
|00000a20| 61 72 61 63 74 65 72 73 | 2e 20 20 54 68 65 20 74 |aracters|. The t|
|00000a30| 68 72 65 65 20 6d 6f 73 | 74 20 63 6f 6d 6d 6f 6e |hree mos|t common|
|00000a40| 20 74 79 70 65 73 20 6f | 66 20 73 74 72 69 6e 67 | types o|f string|
|00000a50| 73 20 65 6e 63 6f 75 6e | 74 65 72 65 64 20 77 68 |s encoun|tered wh|
|00000a60| 65 6e 20 77 6f 72 6b 69 | 6e 67 20 77 69 74 68 20 |en worki|ng with |
|00000a70| 46 61 63 65 57 61 72 65 | 20 6d 6f 64 75 6c 65 73 |FaceWare| modules|
|00000a80| 20 63 6f 72 72 65 73 70 | 6f 6e 64 20 74 6f 20 74 | corresp|ond to t|
|00000a90| 68 65 20 33 20 6d 61 6a | 6f 72 20 6c 61 6e 67 75 |he 3 maj|or langu|
|00000aa0| 61 67 65 73 3a 0d 20 31 | 2e 20 20 43 3a 20 20 63 |ages:. 1|. C: c|
|00000ab0| 68 61 72 61 63 74 65 72 | 20 61 72 72 61 79 20 6f |haracter| array o|
|00000ac0| 66 20 61 6e 79 20 6c 65 | 6e 67 74 68 20 74 65 72 |f any le|ngth ter|
|00000ad0| 6d 69 6e 61 74 65 64 20 | 62 79 20 61 20 6e 75 6c |minated |by a nul|
|00000ae0| 6c 20 62 79 74 65 0d 20 | 32 2e 20 20 46 6f 72 74 |l byte. |2. Fort|
|00000af0| 72 61 6e 3a 20 20 63 68 | 61 72 61 63 74 65 72 20 |ran: ch|aracter |
|00000b00| 61 72 72 61 79 20 74 65 | 72 6d 69 6e 61 74 65 64 |array te|rminated|
|00000b10| 20 62 79 20 73 70 61 63 | 65 73 20 28 73 70 61 63 | by spac|es (spac|
|00000b20| 65 2d 70 61 64 64 65 64 | 29 0d 20 33 2e 20 20 50 |e-padded|). 3. P|
|00000b30| 61 73 63 61 6c 3a 20 20 | b2 20 32 35 35 2d 63 68 |ascal: |. 255-ch|
|00000b40| 61 72 61 63 74 65 72 20 | 61 72 72 61 79 20 70 72 |aracter |array pr|
|00000b50| 65 63 65 65 64 65 64 20 | 62 79 20 61 20 6c 65 61 |eceeded |by a lea|
|00000b60| 64 69 6e 67 20 6c 65 6e | 67 74 68 20 62 79 74 65 |ding len|gth byte|
|00000b70| 0d 4d 61 63 69 6e 74 6f | 73 68 20 63 6f 6d 70 69 |.Macinto|sh compi|
|00000b80| 6c 65 72 73 20 6f 66 74 | 65 6e 20 73 75 70 70 6f |lers oft|en suppo|
|00000b90| 72 74 20 6d 6f 72 65 20 | 74 68 61 6e 20 6f 6e 65 |rt more |than one|
|00000ba0| 20 6f 66 20 74 68 65 20 | 61 62 6f 76 65 20 74 79 | of the |above ty|
|00000bb0| 70 65 73 20 6f 66 20 73 | 74 72 69 6e 67 73 2e 20 |pes of s|trings. |
|00000bc0| 20 54 68 65 79 20 77 69 | 6c 6c 20 61 6c 73 6f 20 | They wi|ll also |
|00000bd0| 6f 66 74 65 6e 20 70 72 | 6f 76 69 64 65 20 73 74 |often pr|ovide st|
|00000be0| 72 69 6e 67 2d 63 6f 6e | 76 65 72 73 69 6f 6e 20 |ring-con|version |
|00000bf0| 66 75 6e 63 74 69 6f 6e | 73 20 74 68 61 74 20 63 |function|s that c|
|00000c00| 6f 6e 76 65 72 74 20 6f | 6e 65 20 74 79 70 65 20 |onvert o|ne type |
|00000c10| 74 6f 20 61 6e 6f 74 68 | 65 72 2e 20 20 54 68 65 |to anoth|er. The|
|00000c20| 20 55 74 69 6c 49 74 20 | 6d 6f 64 75 6c 65 20 61 | UtilIt |module a|
|00000c30| 6c 73 6f 20 73 75 70 70 | 6f 72 74 73 20 61 20 43 |lso supp|orts a C|
|00000c40| 6e 76 53 74 72 20 63 6f | 6d 6d 61 6e 64 20 74 68 |nvStr co|mmand th|
|00000c50| 61 74 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 74 |at can b|e used t|
|00000c60| 6f 20 69 6e 74 65 72 63 | 6f 6e 76 65 72 74 20 61 |o interc|onvert a|
|00000c70| 6e 79 20 6f 66 20 74 68 | 65 20 61 62 6f 76 65 20 |ny of th|e above |
|00000c80| 74 79 70 65 73 2e 20 20 | 57 69 74 68 20 72 65 73 |types. |With res|
|00000c90| 70 65 63 74 20 74 6f 20 | 73 74 72 69 6e 67 73 20 |pect to |strings |
|00000ca0| 69 6e 20 73 68 61 72 65 | 64 20 72 65 63 6f 72 64 |in share|d record|
|00000cb0| 73 2c 20 61 20 6d 6f 64 | 75 6c 65 20 77 69 6c 6c |s, a mod|ule will|
|00000cc0| 20 65 69 74 68 65 72 20 | 66 6f 72 63 65 20 79 6f | either |force yo|
|00000cd0| 75 20 74 6f 20 75 73 65 | 20 61 20 70 61 72 74 69 |u to use| a parti|
|00000ce0| 63 75 6c 61 72 20 74 79 | 70 65 20 6f 66 20 73 74 |cular ty|pe of st|
|00000cf0| 72 69 6e 67 2c 20 6f 72 | 20 77 69 6c 6c 20 61 6c |ring, or| will al|
|00000d00| 6c 6f 77 20 79 6f 75 20 | 74 6f 20 75 73 65 20 79 |low you |to use y|
|00000d10| 6f 75 72 20 6c 61 6e 67 | 75 61 67 65 27 73 20 6e |our lang|uage's n|
|00000d20| 61 74 69 76 65 20 73 74 | 72 69 6e 67 20 74 79 70 |ative st|ring typ|
|00000d30| 65 20 61 6e 64 20 64 6f | 20 74 68 65 20 63 6f 6e |e and do| the con|
|00000d40| 76 65 72 73 69 6f 6e 73 | 20 69 74 73 65 6c 66 2e |versions| itself.|
|00000d50| 0d 20 20 45 61 63 68 20 | 73 74 72 69 6e 67 20 74 |. Each |string t|
|00000d60| 79 70 65 20 68 61 73 20 | 69 74 73 20 61 64 76 61 |ype has |its adva|
|00000d70| 6e 74 61 67 65 73 20 61 | 6e 64 20 64 69 73 61 64 |ntages a|nd disad|
|00000d80| 76 61 6e 74 61 67 65 73 | 2e 20 20 49 6e 20 6d 6f |vantages|. In mo|
|00000d90| 73 74 20 63 61 73 65 73 | 2c 20 74 68 65 20 64 69 |st cases|, the di|
|00000da0| 73 61 64 76 61 6e 74 61 | 67 65 73 20 6f 66 20 65 |sadvanta|ges of e|
|00000db0| 61 63 68 20 74 79 70 65 | 20 61 72 65 20 62 61 6c |ach type| are bal|
|00000dc0| 61 6e 63 65 64 20 62 79 | 20 62 75 69 6c 74 2d 69 |anced by| built-i|
|00000dd0| 6e 20 66 75 6e 63 74 69 | 6f 6e 73 20 74 68 61 74 |n functi|ons that|
|00000de0| 20 64 6f 20 74 68 65 20 | 64 69 72 74 79 20 77 6f | do the |dirty wo|
|00000df0| 72 6b 20 66 6f 72 20 79 | 6f 75 3a 20 20 66 69 6e |rk for y|ou: fin|
|00000e00| 64 69 6e 67 20 74 68 65 | 20 6c 65 6e 67 74 68 2c |ding the| length,|
|00000e10| 20 69 6e 73 65 72 74 69 | 6e 67 20 61 20 73 75 62 | inserti|ng a sub|
|00000e20| 73 74 72 69 6e 67 2c 20 | 65 74 63 2e 0d 20 20 46 |string, |etc.. F|
|00000e30| 6f 72 74 72 61 6e 20 73 | 74 72 69 6e 67 73 20 68 |ortran s|trings h|
|00000e40| 61 76 65 20 74 68 65 20 | 61 64 76 61 6e 74 61 67 |ave the |advantag|
|00000e50| 65 20 6f 66 20 68 61 76 | 69 6e 67 20 6e 6f 20 22 |e of hav|ing no "|
|00000e60| 75 6e 64 65 66 69 6e 65 | 64 22 20 63 68 61 72 61 |undefine|d" chara|
|00000e70| 63 74 65 72 73 20 73 69 | 6e 63 65 20 73 70 61 63 |cters si|nce spac|
|00000e80| 65 73 20 61 72 65 20 75 | 73 65 64 20 74 6f 20 70 |es are u|sed to p|
|00000e90| 61 64 20 74 68 65 20 65 | 6e 64 20 6f 66 20 73 74 |ad the e|nd of st|
|00000ea0| 72 69 6e 67 73 2e 20 20 | 54 68 69 73 20 6d 61 6b |rings. |This mak|
|00000eb0| 65 73 20 69 74 20 65 61 | 73 79 20 74 6f 20 6d 61 |es it ea|sy to ma|
|00000ec0| 6e 69 70 75 6c 61 74 65 | 20 73 75 62 73 74 72 69 |nipulate| substri|
|00000ed0| 6e 67 73 20 77 69 74 68 | 69 6e 20 46 6f 72 74 72 |ngs with|in Fortr|
|00000ee0| 61 6e 20 73 74 72 69 6e | 67 73 20 73 69 6e 63 65 |an strin|gs since|
|00000ef0| 20 79 6f 75 20 6e 65 76 | 65 72 20 68 61 76 65 20 | you nev|er have |
|00000f00| 74 6f 20 77 6f 72 72 79 | 20 61 62 6f 75 74 20 77 |to worry| about w|
|00000f10| 68 65 72 65 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |here the| end of |
|00000f20| 74 68 65 20 73 74 72 69 | 6e 67 20 69 73 2e 20 20 |the stri|ng is. |
|00000f30| 4f 6e 20 74 68 65 20 6e | 65 67 61 74 69 76 65 20 |On the n|egative |
|00000f40| 73 69 64 65 2c 20 73 70 | 61 63 65 73 20 61 74 20 |side, sp|aces at |
|00000f50| 74 68 65 20 65 6e 64 20 | 6f 66 20 61 20 73 74 72 |the end |of a str|
|00000f60| 69 6e 67 20 61 72 65 20 | 6e 65 76 65 72 20 73 69 |ing are |never si|
|00000f70| 67 6e 69 66 69 63 61 6e | 74 2c 20 61 6e 64 20 61 |gnifican|t, and a|
|00000f80| 20 73 65 61 72 63 68 20 | 6d 75 73 74 20 62 65 20 | search |must be |
|00000f90| 6d 61 64 65 20 74 6f 20 | 64 65 74 65 72 6d 69 6e |made to |determin|
|00000fa0| 65 20 73 74 72 69 6e 67 | 20 6c 65 6e 67 74 68 2e |e string| length.|
|00000fb0| 0d 20 20 43 20 73 74 72 | 69 6e 67 73 20 61 6c 73 |. C str|ings als|
|00000fc0| 6f 20 73 75 66 66 65 72 | 20 66 72 6f 6d 20 74 68 |o suffer| from th|
|00000fd0| 65 72 65 20 62 65 69 6e | 67 20 6e 6f 20 73 69 6d |ere bein|g no sim|
|00000fe0| 70 6c 65 20 77 61 79 20 | 74 6f 20 64 65 74 65 72 |ple way |to deter|
|00000ff0| 6d 69 6e 65 20 74 68 65 | 69 72 20 73 69 7a 65 20 |mine the|ir size |
|00001000| 77 69 74 68 6f 75 74 20 | 73 65 61 72 63 68 69 6e |without |searchin|
|00001010| 67 20 66 6f 72 20 74 68 | 65 20 65 6e 64 20 6f 66 |g for th|e end of|
|00001020| 20 74 68 65 20 73 74 72 | 69 6e 67 20 28 61 20 6e | the str|ing (a n|
|00001030| 75 6c 6c 20 62 79 74 65 | 29 2e 20 20 41 6e 6f 74 |ull byte|). Anot|
|00001040| 68 65 72 20 64 69 73 61 | 64 76 61 6e 74 61 67 65 |her disa|dvantage|
|00001050| 20 69 73 20 74 68 61 74 | 20 74 68 65 20 70 6f 73 | is that| the pos|
|00001060| 69 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 6e 75 6c |ition of| the nul|
|00001070| 6c 20 62 79 74 65 20 6d | 75 73 74 20 62 65 20 6d |l byte m|ust be m|
|00001080| 61 6e 61 67 65 64 20 77 | 68 65 6e 20 63 68 61 6e |anaged w|hen chan|
|00001090| 67 69 6e 67 20 74 68 65 | 20 73 69 7a 65 20 6f 66 |ging the| size of|
|000010a0| 20 74 68 65 20 73 74 72 | 69 6e 67 2e 20 20 4f 6e | the str|ing. On|
|000010b0| 20 74 68 65 20 70 6c 75 | 73 20 73 69 64 65 2c 20 | the plu|s side, |
|000010c0| 61 6e 79 20 6e 6f 6e 2d | 6e 75 6c 6c 20 63 68 61 |any non-|null cha|
|000010d0| 72 61 63 74 65 72 20 63 | 61 6e 20 62 65 20 75 73 |racter c|an be us|
|000010e0| 65 64 20 69 6e 20 74 68 | 65 20 73 74 72 69 6e 67 |ed in th|e string|
|000010f0| 2c 20 61 6e 64 20 43 20 | 73 74 72 69 6e 67 73 20 |, and C |strings |
|00001100| 61 72 65 20 6e 6f 74 20 | 6c 69 6d 69 74 65 64 20 |are not |limited |
|00001110| 69 6e 20 73 69 7a 65 2e | 0d 20 20 50 61 73 63 61 |in size.|. Pasca|
|00001120| 6c 20 73 74 72 69 6e 67 | 73 20 68 61 76 65 20 61 |l string|s have a|
|00001130| 20 6c 65 61 64 69 6e 67 | 20 6c 65 6e 67 74 68 20 | leading| length |
|00001140| 62 79 74 65 20 77 68 69 | 63 68 20 73 6f 6c 76 65 |byte whi|ch solve|
|00001150| 73 20 74 68 65 20 70 72 | 6f 62 6c 65 6d 20 6f 66 |s the pr|oblem of|
|00001160| 20 71 75 69 63 6b 6c 79 | 20 64 65 74 65 72 6d 69 | quickly| determi|
|00001170| 6e 69 6e 67 20 74 68 65 | 20 6c 65 6e 67 74 68 20 |ning the| length |
|00001180| 6f 66 20 61 20 73 74 72 | 69 6e 67 2e 20 20 54 68 |of a str|ing. Th|
|00001190| 65 20 6c 65 6e 67 74 68 | 20 62 79 74 65 20 61 6c |e length| byte al|
|000011a0| 73 6f 20 73 75 70 70 6f | 72 74 73 20 70 61 63 6b |so suppo|rts pack|
|000011b0| 69 6e 67 20 50 61 73 63 | 61 6c 20 73 74 72 69 6e |ing Pasc|al strin|
|000011c0| 67 73 20 74 6f 67 65 74 | 68 65 72 20 69 6e 74 6f |gs toget|her into|
|000011d0| 20 6c 69 73 74 73 2c 20 | 70 72 6f 76 69 64 69 6e | lists, |providin|
|000011e0| 67 20 61 20 76 65 72 79 | 20 65 66 66 69 63 69 65 |g a very| efficie|
|000011f0| 6e 74 20 77 61 79 20 74 | 6f 20 73 74 6f 72 65 20 |nt way t|o store |
|00001200| 73 74 72 69 6e 67 73 2e | 20 20 4f 6e 20 74 68 65 |strings.| On the|
|00001210| 20 64 6f 77 6e 20 73 69 | 64 65 2c 20 74 68 65 20 | down si|de, the |
|00001220| 6c 65 6e 67 74 68 20 62 | 79 74 65 20 28 6c 69 6b |length b|yte (lik|
|00001230| 65 20 43 27 73 20 6e 75 | 6c 6c 20 62 79 74 65 29 |e C's nu|ll byte)|
|00001240| 20 6d 75 73 74 20 62 65 | 20 61 64 6a 75 73 74 65 | must be| adjuste|
|00001250| 64 20 65 61 63 68 20 74 | 69 6d 65 20 74 68 65 20 |d each t|ime the |
|00001260| 73 69 7a 65 20 6f 66 20 | 74 68 65 20 73 74 72 69 |size of |the stri|
|00001270| 6e 67 20 69 73 20 63 68 | 61 6e 67 65 64 2c 20 61 |ng is ch|anged, a|
|00001280| 6e 64 20 6c 69 6d 69 74 | 73 20 74 68 65 20 73 69 |nd limit|s the si|
|00001290| 7a 65 20 6f 66 20 74 68 | 65 20 73 74 72 69 6e 67 |ze of th|e string|
|000012a0| 20 74 6f 20 32 35 35 20 | 63 68 61 72 61 63 74 65 | to 255 |characte|
|000012b0| 72 73 2e 0d 0d 53 74 72 | 69 6e 67 2d 54 6f 2d 4e |rs...Str|ing-To-N|
|000012c0| 75 6d 62 65 72 20 49 6e | 74 65 72 63 6f 6e 76 65 |umber In|terconve|
|000012d0| 72 73 69 6f 6e 20 20 4d | 6f 73 74 20 61 70 70 6c |rsion M|ost appl|
|000012e0| 69 63 61 74 69 6f 6e 73 | 20 74 68 61 74 20 77 6f |ications| that wo|
|000012f0| 72 6b 20 77 69 74 68 20 | 6e 75 6d 62 65 72 73 20 |rk with |numbers |
|00001300| 77 69 6c 6c 20 62 65 63 | 6f 6d 65 20 69 6e 76 6f |will bec|ome invo|
|00001310| 6c 76 65 64 20 77 69 74 | 68 20 69 6e 74 65 72 63 |lved wit|h interc|
|00001320| 6f 6e 76 65 72 74 69 6e | 67 20 6e 75 6d 62 65 72 |onvertin|g number|
|00001330| 73 20 61 6e 64 20 73 74 | 72 69 6e 67 73 2e 20 20 |s and st|rings. |
|00001340| 54 6f 6f 6c 62 6f 78 2c | 20 53 41 4e 45 2c 20 61 |Toolbox,| SANE, a|
|00001350| 6e 64 20 55 74 69 6c 49 | 74 20 72 6f 75 74 69 6e |nd UtilI|t routin|
|00001360| 65 73 20 61 72 65 20 61 | 76 61 69 6c 61 62 6c 65 |es are a|vailable|
|00001370| 20 74 6f 20 61 6c 6c 20 | 4d 61 63 20 70 72 6f 67 | to all |Mac prog|
|00001380| 72 61 6d 6d 65 72 73 20 | 74 6f 20 69 6e 74 65 72 |rammers |to inter|
|00001390| 63 6f 6e 76 65 72 74 20 | 6e 75 6d 62 65 72 73 20 |convert |numbers |
|000013a0| 61 6e 64 20 73 74 72 69 | 6e 67 73 3a 20 20 53 74 |and stri|ngs: St|
|000013b0| 72 69 6e 67 54 6f 4e 75 | 6d 20 61 6e 64 20 4e 75 |ringToNu|m and Nu|
|000013c0| 6d 54 6f 53 74 72 69 6e | 67 20 66 6f 72 20 69 6e |mToStrin|g for in|
|000013d0| 74 65 67 65 72 73 2c 20 | 73 74 72 32 6e 75 6d 20 |tegers, |str2num |
|000013e0| 61 6e 64 20 6e 75 6d 32 | 73 74 72 20 66 6f 72 20 |and num2|str for |
|000013f0| 72 65 61 6c 73 2c 20 61 | 6e 64 20 74 68 65 20 63 |reals, a|nd the c|
|00001400| 6f 6d 6d 61 6e 64 73 20 | 4e 75 6d 54 6f 53 20 61 |ommands |NumToS a|
|00001410| 6e 64 20 53 54 6f 4e 75 | 6d 2e 20 20 45 61 63 68 |nd SToNu|m. Each|
|00001420| 20 6c 61 6e 67 75 61 67 | 65 20 61 6c 73 6f 20 68 | languag|e also h|
|00001430| 61 73 20 62 75 69 6c 74 | 2d 69 6e 20 73 75 70 70 |as built|-in supp|
|00001440| 6f 72 74 20 66 6f 72 20 | 69 6e 74 65 72 63 6f 6e |ort for |intercon|
|00001450| 76 65 72 74 69 6e 67 20 | 6e 75 6d 62 65 72 73 20 |verting |numbers |
|00001460| 61 6e 64 20 73 74 72 69 | 6e 67 73 3a 0d 0d 46 6f |and stri|ngs:..Fo|
|00001470| 72 74 72 61 6e 20 20 46 | 6f 72 74 72 61 6e 27 73 |rtran F|ortran's|
|00001480| 20 73 75 70 70 6f 72 74 | 20 66 6f 72 20 22 69 6e | support| for "in|
|00001490| 74 65 72 6e 61 6c 20 66 | 69 6c 65 73 22 20 6d 61 |ternal f|iles" ma|
|000014a0| 6b 65 73 20 63 6f 6e 76 | 65 72 73 69 6f 6e 20 6f |kes conv|ersion o|
|000014b0| 66 20 6e 75 6d 62 65 72 | 73 20 74 6f 20 73 74 72 |f number|s to str|
|000014c0| 69 6e 67 73 20 61 6c 6d | 6f 73 74 20 74 72 69 76 |ings alm|ost triv|
|000014d0| 69 61 6c 2c 20 61 6e 64 | 20 62 72 69 6e 67 73 20 |ial, and| brings |
|000014e0| 61 6c 6c 20 74 68 65 20 | 70 6f 77 65 72 20 6f 66 |all the |power of|
|000014f0| 20 66 6f 72 6d 61 74 20 | 73 74 61 74 65 6d 65 6e | format |statemen|
|00001500| 74 73 20 74 6f 20 74 68 | 69 73 20 6f 70 65 72 61 |ts to th|is opera|
|00001510| 74 69 6f 6e 2e 20 20 46 | 6f 72 20 65 78 61 6d 70 |tion. F|or examp|
|00001520| 6c 65 2c 20 73 75 70 70 | 6f 73 65 20 61 6e 20 65 |le, supp|ose an e|
|00001530| 78 69 73 74 69 6e 67 20 | 70 72 6f 67 72 61 6d 20 |xisting |program |
|00001540| 77 72 69 74 65 73 20 74 | 77 6f 20 69 6e 74 65 67 |writes t|wo integ|
|00001550| 65 72 73 20 74 6f 20 75 | 6e 69 74 20 33 3a 0d 20 |ers to u|nit 3:. |
|00001560| 20 20 69 6e 74 65 67 65 | 72 20 61 6c 70 68 61 2c | intege|r alpha,|
|00001570| 62 65 74 61 0d 20 20 20 | 2e 2e 2e 0d 20 20 20 61 |beta. |.... a|
|00001580| 6c 70 68 61 20 3d 20 35 | 0d 20 20 20 62 65 74 61 |lpha = 5|. beta|
|00001590| 20 3d 20 31 30 0d 20 20 | 20 77 72 69 74 65 28 33 | = 10. | write(3|
|000015a0| 2c 35 29 20 61 6c 70 68 | 61 2c 62 65 74 61 0d 35 |,5) alph|a,beta.5|
|000015b0| 20 20 66 6f 72 6d 61 74 | 20 28 32 49 35 29 0d 54 | format| (2I5).T|
|000015c0| 68 65 20 65 71 75 69 76 | 61 6c 65 6e 74 20 73 74 |he equiv|alent st|
|000015d0| 61 74 65 6d 65 6e 74 73 | 20 66 6f 72 20 77 72 69 |atements| for wri|
|000015e0| 74 69 6e 67 20 74 68 65 | 20 73 61 6d 65 20 76 61 |ting the| same va|
|000015f0| 72 69 61 62 6c 65 73 20 | 74 6f 20 74 68 65 20 66 |riables |to the f|
|00001600| 52 65 63 27 73 20 75 4e | 61 6d 65 20 73 74 72 69 |Rec's uN|ame stri|
|00001610| 6e 67 20 28 72 65 66 65 | 72 72 65 64 20 74 6f 20 |ng (refe|rred to |
|00001620| 61 73 20 61 6e 20 22 69 | 6e 74 65 72 6e 61 6c 20 |as an "i|nternal |
|00001630| 66 69 6c 65 22 29 20 77 | 6f 75 6c 64 20 62 65 2c |file") w|ould be,|
|00001640| 0d 20 20 20 77 72 69 74 | 65 28 75 4e 61 6d 65 2c |. writ|e(uName,|
|00001650| 35 29 20 61 6c 70 68 61 | 2c 62 65 74 61 0d 35 20 |5) alpha|,beta.5 |
|00001660| 20 66 6f 72 6d 61 74 20 | 28 32 49 35 29 0d 6f 72 | format |(2I5).or|
|00001670| 20 73 69 6d 70 6c 79 2c | 0d 20 20 20 77 72 69 74 | simply,|. writ|
|00001680| 65 28 75 4e 61 6d 65 2c | 27 28 32 49 35 29 27 29 |e(uName,|'(2I5)')|
|00001690| 20 61 6c 70 68 61 2c 62 | 65 74 61 0d 52 65 61 64 | alpha,b|eta.Read|
|000016a0| 69 6e 67 20 61 20 46 6f | 72 74 72 61 6e 20 73 74 |ing a Fo|rtran st|
|000016b0| 72 69 6e 67 20 69 73 20 | 76 65 72 79 20 73 69 6d |ring is |very sim|
|000016c0| 69 6c 61 72 20 74 6f 20 | 77 72 69 74 69 6e 67 20 |ilar to |writing |
|000016d0| 61 20 73 74 72 69 6e 67 | 2e 20 20 54 68 65 20 66 |a string|. The f|
|000016e0| 6f 6c 6c 6f 77 69 6e 67 | 20 63 6f 64 65 20 72 65 |ollowing| code re|
|000016f0| 61 64 73 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 |ads the |variable|
|00001700| 73 20 61 6c 70 68 61 20 | 61 6e 64 20 62 65 74 61 |s alpha |and beta|
|00001710| 20 66 72 6f 6d 20 74 68 | 65 20 73 74 72 69 6e 67 | from th|e string|
|00001720| 20 75 4e 61 6d 65 3a 0d | 20 20 20 72 65 61 64 28 | uName:.| read(|
|00001730| 75 4e 61 6d 65 2c 35 29 | 20 61 6c 70 68 61 2c 62 |uName,5)| alpha,b|
|00001740| 65 74 61 0d 35 20 20 66 | 6f 72 6d 61 74 20 28 32 |eta.5 f|ormat (2|
|00001750| 49 35 29 20 20 21 32 20 | 69 6e 74 2e 73 20 6f 63 |I5) !2 |int.s oc|
|00001760| 63 75 70 79 69 6e 67 20 | 35 20 63 68 61 72 61 63 |cupying |5 charac|
|00001770| 74 65 72 73 20 65 61 63 | 68 0d 4f 6e 65 20 64 72 |ters eac|h.One dr|
|00001780| 61 77 62 61 63 6b 20 74 | 6f 20 75 73 69 6e 67 20 |awback t|o using |
|00001790| 61 20 73 74 72 69 6e 67 | 20 61 73 20 61 6e 20 69 |a string| as an i|
|000017a0| 6e 74 65 72 6e 61 6c 20 | 66 69 6c 65 20 69 6e 20 |nternal |file in |
|000017b0| 61 20 72 65 61 64 20 73 | 74 61 74 65 6d 65 6e 74 |a read s|tatement|
|000017c0| 20 69 73 20 74 68 61 74 | 2c 20 77 69 74 68 20 73 | is that|, with s|
|000017d0| 6f 6d 65 20 46 6f 72 74 | 72 61 6e 20 63 6f 6d 70 |ome Fort|ran comp|
|000017e0| 69 6c 65 72 73 2c 20 79 | 6f 75 20 63 61 6e 6e 6f |ilers, y|ou canno|
|000017f0| 74 20 75 73 65 20 6c 69 | 73 74 2d 64 69 72 65 63 |t use li|st-direc|
|00001800| 74 65 64 20 66 6f 72 6d | 61 74 73 20 28 22 2a 22 |ted form|ats ("*"|
|00001810| 20 66 6f 72 6d 61 74 74 | 69 6e 67 29 20 77 68 65 | formatt|ing) whe|
|00001820| 6e 20 72 65 61 64 69 6e | 67 20 6d 6f 72 65 20 74 |n readin|g more t|
|00001830| 68 61 6e 20 6f 6e 65 20 | 76 61 72 69 61 62 6c 65 |han one |variable|
|00001840| 20 66 72 6f 6d 20 61 20 | 73 69 6e 67 6c 65 20 73 | from a |single s|
|00001850| 74 72 69 6e 67 2e 20 20 | 54 68 65 72 65 20 69 73 |tring. |There is|
|00001860| 20 75 73 75 61 6c 6c 79 | 20 6e 6f 20 70 72 6f 62 | usually| no prob|
|00001870| 6c 65 6d 2c 20 68 6f 77 | 65 76 65 72 2c 20 75 73 |lem, how|ever, us|
|00001880| 69 6e 67 20 22 2a 22 20 | 66 6f 72 6d 61 74 74 69 |ing "*" |formatti|
|00001890| 6e 67 20 77 68 65 6e 20 | 77 72 69 74 69 6e 67 20 |ng when |writing |
|000018a0| 6d 75 6c 74 69 70 6c 65 | 20 76 61 6c 75 65 73 20 |multiple| values |
|000018b0| 74 6f 20 61 20 73 74 72 | 69 6e 67 2e 0d 0d 50 61 |to a str|ing...Pa|
|000018c0| 73 63 61 6c 20 20 54 68 | 65 20 54 48 49 4e 4b 20 |scal Th|e THINK |
|000018d0| 50 61 73 63 61 6c 20 66 | 75 6e 63 74 69 6f 6e 73 |Pascal f|unctions|
|000018e0| 20 22 53 74 72 69 6e 67 | 4f 66 22 20 61 6e 64 20 | "String|Of" and |
|000018f0| 22 52 65 61 64 53 74 72 | 69 6e 67 22 20 70 72 6f |"ReadStr|ing" pro|
|00001900| 76 69 64 65 20 6d 6f 73 | 74 20 6f 66 20 74 68 65 |vide mos|t of the|
|00001910| 20 66 75 6e 63 74 69 6f | 6e 61 6c 69 74 79 20 6f | functio|nality o|
|00001920| 66 20 74 68 65 20 65 71 | 75 69 76 61 6c 65 6e 74 |f the eq|uivalent|
|00001930| 20 46 6f 72 74 72 61 6e | 20 22 77 72 69 74 65 22 | Fortran| "write"|
|00001940| 20 61 6e 64 20 22 72 65 | 61 64 22 2e 20 20 54 72 | and "re|ad". Tr|
|00001950| 61 6e 73 6c 61 74 69 6e | 67 20 66 72 6f 6d 20 74 |anslatin|g from t|
|00001960| 68 65 20 61 62 6f 76 65 | 20 46 6f 72 74 72 61 6e |he above| Fortran|
|00001970| 20 65 78 61 6d 70 6c 65 | 73 2c 0d 20 20 61 6c 70 | example|s,. alp|
|00001980| 68 61 2c 62 65 74 61 20 | 3a 20 6c 6f 6e 67 69 6e |ha,beta |: longin|
|00001990| 74 3b 0d 20 20 2e 2e 2e | 0d 20 20 61 6c 70 68 61 |t;. ...|. alpha|
|000019a0| 20 3a 3d 20 35 3b 0d 20 | 20 62 65 74 61 20 3a 3d | := 5;. | beta :=|
|000019b0| 20 31 30 3b 0d 20 20 75 | 4e 61 6d 65 20 3a 3d 20 | 10;. u|Name := |
|000019c0| 53 74 72 69 6e 67 4f 66 | 28 61 6c 70 68 61 3a 35 |StringOf|(alpha:5|
|000019d0| 2c 62 65 74 61 3a 35 29 | 3b 0d 4f 6e 65 20 70 6f |,beta:5)|;.One po|
|000019e0| 74 65 6e 74 69 61 6c 20 | 70 72 6f 62 6c 65 6d 20 |tential |problem |
|000019f0| 75 73 69 6e 67 20 74 68 | 65 20 22 53 74 72 69 6e |using th|e "Strin|
|00001a00| 67 4f 66 22 20 66 75 6e | 63 74 69 6f 6e 2c 20 68 |gOf" fun|ction, h|
|00001a10| 6f 77 65 76 65 72 2c 20 | 69 73 20 74 68 61 74 20 |owever, |is that |
|00001a20| 69 74 20 77 69 6c 6c 20 | 75 73 65 20 6d 6f 72 65 |it will |use more|
|00001a30| 20 63 68 61 72 61 63 74 | 65 72 73 20 74 68 61 6e | charact|ers than|
|00001a40| 20 74 68 65 20 64 65 73 | 69 67 6e 61 74 65 64 20 | the des|ignated |
|00001a50| 66 69 65 6c 64 20 77 69 | 64 74 68 20 28 22 35 22 |field wi|dth ("5"|
|00001a60| 20 69 6e 20 74 68 65 20 | 61 62 6f 76 65 20 65 78 | in the |above ex|
|00001a70| 61 6d 70 6c 65 29 20 69 | 66 20 69 74 20 66 69 6e |ample) i|f it fin|
|00001a80| 64 73 20 74 68 61 74 20 | 74 68 65 20 6f 75 74 70 |ds that |the outp|
|00001a90| 75 74 20 73 74 72 69 6e | 67 20 69 73 20 6c 61 72 |ut strin|g is lar|
|00001aa0| 67 65 72 20 74 68 61 6e | 20 74 68 65 20 73 70 61 |ger than| the spa|
|00001ab0| 63 65 20 67 69 76 65 6e | 2e 20 20 53 6f 20 62 65 |ce given|. So be|
|00001ac0| 20 63 65 72 74 61 69 6e | 20 74 6f 20 6d 61 6b 65 | certain| to make|
|00001ad0| 20 79 6f 75 72 20 66 69 | 65 6c 64 2d 77 69 64 74 | your fi|eld-widt|
|00001ae0| 68 73 20 6c 61 72 67 65 | 20 65 6e 6f 75 67 68 2e |hs large| enough.|
|00001af0| 0d 20 20 52 65 61 64 69 | 6e 67 20 61 20 73 74 72 |. Readi|ng a str|
|00001b00| 69 6e 67 20 77 69 74 68 | 20 22 52 65 61 64 53 74 |ing with| "ReadSt|
|00001b10| 72 69 6e 67 22 20 69 73 | 20 61 20 6c 6f 74 20 6c |ring" is| a lot l|
|00001b20| 69 6b 65 20 61 20 6c 69 | 73 74 2d 64 69 72 65 63 |ike a li|st-direc|
|00001b30| 74 65 64 20 72 65 61 64 | 20 77 69 74 68 20 46 6f |ted read| with Fo|
|00001b40| 72 74 72 61 6e 2e 20 20 | 55 6e 66 6f 72 74 75 6e |rtran. |Unfortun|
|00001b50| 61 74 65 6c 79 2c 20 79 | 6f 75 20 63 61 6e 6e 6f |ately, y|ou canno|
|00001b60| 74 20 61 6c 77 61 79 73 | 20 67 75 61 72 61 6e 74 |t always| guarant|
|00001b70| 65 65 20 74 68 61 74 20 | 74 68 65 20 76 61 6c 75 |ee that |the valu|
|00001b80| 65 73 20 69 6e 20 61 20 | 73 74 72 69 6e 67 20 77 |es in a |string w|
|00001b90| 69 6c 6c 20 62 65 20 70 | 72 6f 70 65 72 6c 79 20 |ill be p|roperly |
|00001ba0| 64 65 6c 69 6d 69 74 65 | 64 20 28 74 68 65 72 65 |delimite|d (there|
|00001bb0| 20 6d 61 79 20 62 65 20 | 6e 6f 20 73 70 61 63 65 | may be |no space|
|00001bc0| 20 62 65 74 77 65 65 6e | 20 6f 6e 65 20 69 74 65 | between| one ite|
|00001bd0| 6d 20 61 6e 64 20 74 68 | 65 20 6e 65 78 74 2c 20 |m and th|e next, |
|00001be0| 6f 72 20 61 20 73 69 6e | 67 6c 65 20 69 74 65 6d |or a sin|gle item|
|00001bf0| 20 6d 61 79 20 62 65 20 | 62 72 6f 6b 65 6e 20 75 | may be |broken u|
|00001c00| 70 20 62 79 20 73 70 61 | 63 65 73 29 2e 20 20 20 |p by spa|ces). |
|00001c10| 46 6f 72 20 74 68 69 73 | 20 72 65 61 73 6f 6e 2c |For this| reason,|
|00001c20| 20 74 68 65 20 73 61 66 | 65 73 74 20 77 61 79 20 | the saf|est way |
|00001c30| 74 6f 20 75 73 65 20 52 | 65 61 64 53 74 72 69 6e |to use R|eadStrin|
|00001c40| 67 20 77 68 65 6e 20 72 | 65 61 64 69 6e 67 20 6d |g when r|eading m|
|00001c50| 75 6c 74 69 70 6c 65 20 | 76 61 6c 75 65 73 20 66 |ultiple |values f|
|00001c60| 72 6f 6d 20 61 20 73 69 | 6e 67 6c 65 20 73 74 72 |rom a si|ngle str|
|00001c70| 69 6e 67 20 69 73 20 74 | 6f 20 63 61 6c 6c 20 69 |ing is t|o call i|
|00001c80| 74 20 66 6f 72 20 65 61 | 63 68 20 73 75 62 73 74 |t for ea|ch subst|
|00001c90| 72 69 6e 67 20 74 68 61 | 74 20 6d 75 73 74 20 62 |ring tha|t must b|
|00001ca0| 65 20 65 76 61 6c 75 61 | 74 65 64 2e 20 20 46 6f |e evalua|ted. Fo|
|00001cb0| 72 20 65 78 61 6d 70 6c | 65 2c 20 74 6f 20 72 65 |r exampl|e, to re|
|00001cc0| 61 64 20 74 68 65 20 76 | 61 72 69 61 62 6c 65 73 |ad the v|ariables|
|00001cd0| 20 61 6c 70 68 61 20 61 | 6e 64 20 62 65 74 61 20 | alpha a|nd beta |
|00001ce0| 66 72 6f 6d 20 74 68 65 | 20 73 74 72 69 6e 67 20 |from the| string |
|00001cf0| 75 4e 61 6d 65 20 75 73 | 65 64 20 69 6e 20 70 72 |uName us|ed in pr|
|00001d00| 65 76 69 6f 75 73 20 65 | 78 61 6d 70 6c 65 73 2c |evious e|xamples,|
|00001d10| 0d 20 20 52 65 61 64 53 | 74 72 69 6e 67 28 63 6f |. ReadS|tring(co|
|00001d20| 70 79 28 75 4e 61 6d 65 | 2c 31 2c 35 29 2c 61 6c |py(uName|,1,5),al|
|00001d30| 70 68 61 29 3b 0d 20 20 | 52 65 61 64 53 74 72 69 |pha);. |ReadStri|
|00001d40| 6e 67 28 63 6f 70 79 28 | 75 4e 61 6d 65 2c 36 2c |ng(copy(|uName,6,|
|00001d50| 35 29 2c 62 65 74 61 29 | 3b 0d 20 20 49 66 20 79 |5),beta)|;. If y|
|00001d60| 6f 75 72 20 70 61 72 74 | 69 63 75 6c 61 72 20 69 |our part|icular i|
|00001d70| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 20 6f 66 |mplement|ation of|
|00001d80| 20 50 61 73 63 61 6c 20 | 64 6f 65 73 6e 27 74 20 | Pascal |doesn't |
|00001d90| 73 75 70 70 6f 72 74 20 | 66 75 6e 63 74 69 6f 6e |support |function|
|00001da0| 73 20 65 71 75 69 76 61 | 6c 65 6e 74 20 74 6f 20 |s equiva|lent to |
|00001db0| 22 53 74 72 69 6e 67 4f | 66 22 20 61 6e 64 20 22 |"StringO|f" and "|
|00001dc0| 52 65 61 64 53 74 72 69 | 6e 67 22 20 28 6f 72 20 |ReadStri|ng" (or |
|00001dd0| 69 66 20 79 6f 75 20 61 | 72 65 20 64 65 76 65 6c |if you a|re devel|
|00001de0| 6f 70 69 6e 67 20 61 20 | 63 6f 64 65 20 72 65 73 |oping a |code res|
|00001df0| 6f 75 72 63 65 20 69 6e | 20 77 68 69 63 68 20 53 |ource in| which S|
|00001e00| 74 72 69 6e 67 4f 66 20 | 61 6e 64 20 52 65 61 64 |tringOf |and Read|
|00001e10| 53 74 72 69 6e 67 20 61 | 72 65 20 6e 6f 74 20 73 |String a|re not s|
|00001e20| 75 70 70 6f 72 74 65 64 | 29 2c 20 74 68 65 6e 20 |upported|), then |
|00001e30| 75 73 65 20 74 68 65 20 | 55 74 69 6c 49 74 2c 20 |use the |UtilIt, |
|00001e40| 74 6f 6f 6c 62 6f 78 2c | 20 6f 72 20 53 41 4e 45 |toolbox,| or SANE|
|00001e50| 20 72 6f 75 74 69 6e 65 | 73 20 6d 65 6e 74 69 6f | routine|s mentio|
|00001e60| 6e 65 64 20 61 62 6f 76 | 65 2e 0d 0d 43 20 20 43 |ned abov|e...C C|
|00001e70| 20 70 72 6f 76 69 64 65 | 73 20 61 6e 20 65 78 74 | provide|s an ext|
|00001e80| 65 6e 73 69 76 65 20 73 | 65 74 20 6f 66 20 73 74 |ensive s|et of st|
|00001e90| 72 69 6e 67 2d 68 61 6e | 64 6c 69 6e 67 20 66 75 |ring-han|dling fu|
|00001ea0| 6e 63 74 69 6f 6e 73 2e | 20 20 46 72 6f 6d 20 74 |nctions.| From t|
|00001eb0| 68 65 20 70 65 72 73 70 | 65 63 74 69 76 65 20 6f |he persp|ective o|
|00001ec0| 66 20 6f 74 68 65 72 20 | 6c 61 6e 67 75 61 67 65 |f other |language|
|00001ed0| 73 2c 20 6d 61 6e 79 20 | 6f 66 20 74 68 65 73 65 |s, many |of these|
|00001ee0| 20 66 75 6e 63 74 69 6f | 6e 73 20 61 72 65 20 6e | functio|ns are n|
|00001ef0| 65 63 65 73 73 61 72 79 | 20 62 65 63 61 75 73 65 |ecessary| because|
|00001f00| 20 43 20 64 6f 65 73 20 | 6e 6f 74 20 70 72 6f 76 | C does |not prov|
|00001f10| 69 64 65 20 6d 6f 72 65 | 20 64 69 72 65 63 74 20 |ide more| direct |
|00001f20| 77 61 79 73 20 6f 66 20 | 61 63 63 6f 6d 70 6c 69 |ways of |accompli|
|00001f30| 73 68 69 6e 67 20 74 68 | 65 20 73 61 6d 65 20 74 |shing th|e same t|
|00001f40| 61 73 6b 2e 20 20 46 6f | 72 20 65 78 61 6d 70 6c |ask. Fo|r exampl|
|00001f50| 65 2c 20 65 76 65 6e 20 | 74 68 65 20 73 69 6d 70 |e, even |the simp|
|00001f60| 6c 65 73 74 20 6f 66 20 | 6f 70 65 72 61 74 69 6f |lest of |operatio|
|00001f70| 6e 73 20 73 75 63 68 20 | 61 73 20 63 6f 6d 70 61 |ns such |as compa|
|00001f80| 72 69 6e 67 20 61 6e 64 | 20 61 73 73 69 67 6e 69 |ring and| assigni|
|00001f90| 6e 67 20 73 74 72 69 6e | 67 73 20 61 72 65 20 66 |ng strin|gs are f|
|00001fa0| 75 6e 63 74 69 6f 6e 20 | 62 61 73 65 64 3a 0d 20 |unction |based:. |
|00001fb0| 20 73 74 72 63 70 79 28 | 75 4e 61 6d 65 2c 22 45 | strcpy(|uName,"E|
|00001fc0| 64 69 74 49 74 2e 52 73 | 72 63 22 29 3b 20 20 20 |ditIt.Rs|rc"); |
|00001fd0| 2f 2a 20 61 73 73 69 67 | 6e 20 73 74 72 69 6e 67 |/* assig|n string|
|00001fe0| 20 2a 2f 0d 20 20 69 66 | 20 28 73 74 72 63 6d 70 | */. if| (strcmp|
|00001ff0| 28 75 4e 61 6d 65 2c 22 | 52 65 64 22 29 20 3d 3d |(uName,"|Red") ==|
|00002000| 20 30 29 20 20 2f 2a 20 | 63 6f 6d 70 61 72 65 20 | 0) /* |compare |
|00002010| 73 74 72 69 6e 67 73 20 | 2a 2f 0d 20 20 4f 6e 20 |strings |*/. On |
|00002020| 74 68 65 20 62 72 69 67 | 68 74 20 73 69 64 65 2c |the brig|ht side,|
|00002030| 20 74 68 65 20 43 20 66 | 75 6e 63 74 69 6f 6e 73 | the C f|unctions|
|00002040| 20 22 73 70 72 69 6e 74 | 66 22 20 61 6e 64 20 22 | "sprint|f" and "|
|00002050| 73 73 63 61 6e 66 22 20 | 70 72 6f 76 69 64 65 20 |sscanf" |provide |
|00002060| 6e 65 61 72 6c 79 20 61 | 6c 6c 20 6f 66 20 74 68 |nearly a|ll of th|
|00002070| 65 20 66 75 6e 63 74 69 | 6f 6e 61 6c 69 74 79 20 |e functi|onality |
|00002080| 6f 66 20 74 68 65 20 65 | 71 75 69 76 61 6c 65 6e |of the e|quivalen|
|00002090| 74 20 46 6f 72 74 72 61 | 6e 20 22 77 72 69 74 65 |t Fortra|n "write|
|000020a0| 22 20 61 6e 64 20 22 72 | 65 61 64 22 20 74 6f 20 |" and "r|ead" to |
|000020b0| 69 6e 74 65 72 6e 61 6c | 20 66 69 6c 65 73 2e 20 |internal| files. |
|000020c0| 20 54 72 61 6e 73 6c 61 | 74 69 6e 67 20 66 72 6f | Transla|ting fro|
|000020d0| 6d 20 74 68 65 20 61 62 | 6f 76 65 20 46 6f 72 74 |m the ab|ove Fort|
|000020e0| 72 61 6e 20 65 78 61 6d | 70 6c 65 73 2c 0d 09 6c |ran exam|ples,..l|
|000020f0| 6f 6e 67 20 20 61 6c 70 | 68 61 2c 62 65 74 61 3b |ong alp|ha,beta;|
|00002100| 0d 20 20 2e 2e 2e 0d 09 | 61 6c 70 68 61 20 3d 20 |. .....|alpha = |
|00002110| 35 3b 0d 09 62 65 74 61 | 20 3d 20 31 30 3b 0d 09 |5;..beta| = 10;..|
|00002120| 73 70 72 69 6e 74 66 28 | 75 4e 61 6d 65 2c 22 25 |sprintf(|uName,"%|
|00002130| 35 6c 64 25 35 6c 64 22 | 2c 61 6c 70 68 61 2c 62 |5ld%5ld"|,alpha,b|
|00002140| 65 74 61 29 3b 20 2f 2a | 20 22 6c 22 20 66 6f 72 |eta); /*| "l" for|
|00002150| 20 6c 6f 6e 67 20 2a 2f | 0d 77 69 6c 6c 20 77 72 | long */|.will wr|
|00002160| 69 74 65 20 61 6c 70 68 | 61 20 61 6e 64 20 62 65 |ite alph|a and be|
|00002170| 74 61 20 74 6f 20 75 4e | 61 6d 65 20 75 73 69 6e |ta to uN|ame usin|
|00002180| 67 20 35 20 63 68 61 72 | 61 63 74 65 72 73 20 66 |g 5 char|acters f|
|00002190| 6f 72 20 65 61 63 68 20 | 6e 75 6d 62 65 72 2e 0d |or each |number..|
|000021a0| 20 20 54 68 65 20 75 73 | 65 20 6f 66 20 22 73 73 | The us|e of "ss|
|000021b0| 63 61 6e 66 22 20 6c 6f | 6f 6b 73 20 6d 75 63 68 |canf" lo|oks much|
|000021c0| 20 6c 69 6b 65 20 74 68 | 65 20 65 71 75 69 76 61 | like th|e equiva|
|000021d0| 6c 65 6e 74 20 46 6f 72 | 74 72 61 6e 20 66 6f 72 |lent For|tran for|
|000021e0| 6d 61 74 74 65 64 20 22 | 72 65 61 64 22 2e 20 20 |matted "|read". |
|000021f0| 49 6e 20 6d 61 6e 79 20 | 63 61 73 65 73 2c 20 68 |In many |cases, h|
|00002200| 6f 77 65 76 65 72 2c 20 | 73 73 63 61 6e 66 20 64 |owever, |sscanf d|
|00002210| 6f 65 73 20 6e 6f 74 20 | 70 72 6f 76 65 20 74 6f |oes not |prove to|
|00002220| 20 62 65 20 61 20 72 65 | 6c 69 61 62 6c 65 20 77 | be a re|liable w|
|00002230| 61 79 20 6f 66 20 72 65 | 61 64 69 6e 67 20 6d 75 |ay of re|ading mu|
|00002240| 6c 74 69 70 6c 65 20 76 | 61 6c 75 65 73 20 66 72 |ltiple v|alues fr|
|00002250| 6f 6d 20 61 20 73 69 6e | 67 6c 65 20 73 74 72 69 |om a sin|gle stri|
|00002260| 6e 67 2e 20 20 4f 6e 65 | 20 70 72 6f 62 6c 65 6d |ng. One| problem|
|00002270| 20 69 73 20 74 68 61 74 | 20 74 68 65 20 66 6f 72 | is that| the for|
|00002280| 6d 61 74 20 77 68 69 63 | 68 20 79 6f 75 20 65 6e |mat whic|h you en|
|00002290| 74 65 72 20 61 73 20 70 | 61 72 74 20 6f 66 20 74 |ter as p|art of t|
|000022a0| 68 65 20 73 73 63 61 6e | 66 20 63 61 6c 6c 20 69 |he sscan|f call i|
|000022b0| 73 20 6e 6f 74 20 73 74 | 72 69 63 74 6c 79 20 66 |s not st|rictly f|
|000022c0| 6f 6c 6c 6f 77 65 64 20 | 69 66 20 74 68 65 20 66 |ollowed |if the f|
|000022d0| 75 6e 63 74 69 6f 6e 20 | 65 6e 63 6f 75 6e 74 65 |unction |encounte|
|000022e0| 72 73 20 73 70 61 63 65 | 73 20 61 74 20 74 68 65 |rs space|s at the|
|000022f0| 20 62 65 67 69 6e 6e 69 | 6e 67 20 6f 66 20 61 20 | beginni|ng of a |
|00002300| 66 69 65 6c 64 2e 20 20 | 49 6e 20 74 68 69 73 20 |field. |In this |
|00002310| 63 61 73 65 20 74 68 65 | 20 73 70 61 63 65 73 20 |case the| spaces |
|00002320| 61 72 65 20 73 6b 69 70 | 70 65 64 20 6f 76 65 72 |are skip|ped over|
|00002330| 20 75 6e 74 69 6c 20 61 | 20 6e 6f 6e 2d 73 70 61 | until a| non-spa|
|00002340| 63 65 20 63 68 61 72 61 | 63 74 65 72 20 69 73 20 |ce chara|cter is |
|00002350| 66 6f 75 6e 64 20 62 65 | 66 6f 72 65 20 72 65 61 |found be|fore rea|
|00002360| 64 69 6e 67 20 74 68 65 | 20 6e 65 78 74 20 76 61 |ding the| next va|
|00002370| 72 69 61 62 6c 65 20 77 | 69 74 68 20 74 68 65 20 |riable w|ith the |
|00002380| 6e 65 78 74 20 66 6f 72 | 6d 61 74 2c 20 74 68 65 |next for|mat, the|
|00002390| 72 65 62 79 20 70 75 74 | 74 69 6e 67 20 74 68 65 |reby put|ting the|
|000023a0| 20 72 65 73 74 20 6f 66 | 20 74 68 65 20 73 63 61 | rest of| the sca|
|000023b0| 6e 20 22 6f 75 74 20 6f | 66 20 73 79 6e 63 68 22 |n "out o|f synch"|
|000023c0| 2e 20 20 54 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |. This |function|
|000023d0| 20 61 6c 73 6f 20 68 61 | 73 20 70 72 6f 62 6c 65 | also ha|s proble|
|000023e0| 6d 73 20 69 66 20 74 68 | 65 20 63 6f 6e 74 65 6e |ms if th|e conten|
|000023f0| 74 73 20 6f 66 20 61 20 | 66 69 65 6c 64 20 63 6f |ts of a |field co|
|00002400| 6e 74 61 69 6e 20 73 70 | 61 63 65 73 20 62 65 74 |ntain sp|aces bet|
|00002410| 77 65 65 6e 20 6e 6f 6e | 2d 73 70 61 63 65 20 63 |ween non|-space c|
|00002420| 68 61 72 61 63 74 65 72 | 73 2e 0d 20 20 54 68 65 |haracter|s.. The|
|00002430| 20 62 6f 74 74 6f 6d 20 | 6c 69 6e 65 20 69 73 20 | bottom |line is |
|00002440| 74 68 61 74 20 73 73 63 | 61 6e 66 20 73 68 6f 75 |that ssc|anf shou|
|00002450| 6c 64 20 6e 6f 74 20 62 | 65 20 75 73 65 64 20 74 |ld not b|e used t|
|00002460| 6f 20 72 65 61 64 20 6d | 75 6c 74 69 70 6c 65 20 |o read m|ultiple |
|00002470| 76 61 6c 75 65 73 20 66 | 72 6f 6d 20 61 20 73 74 |values f|rom a st|
|00002480| 72 69 6e 67 20 69 6e 20 | 6f 6e 65 20 73 74 61 74 |ring in |one stat|
|00002490| 65 6d 65 6e 74 20 75 6e | 6c 65 73 73 20 79 6f 75 |ement un|less you|
|000024a0| 20 61 72 65 20 63 65 72 | 74 61 69 6e 20 74 68 61 | are cer|tain tha|
|000024b0| 74 20 74 68 65 20 6e 6f | 6e 2d 73 70 61 63 65 20 |t the no|n-space |
|000024c0| 63 68 61 72 61 63 74 65 | 72 73 20 69 6e 20 74 68 |characte|rs in th|
|000024d0| 65 20 73 75 62 73 74 72 | 69 6e 67 73 20 62 65 69 |e substr|ings bei|
|000024e0| 6e 67 20 72 65 61 64 20 | 61 72 65 20 6c 65 66 74 |ng read |are left|
|000024f0| 2d 6a 75 73 74 69 66 69 | 65 64 20 69 6e 20 65 61 |-justifi|ed in ea|
|00002500| 63 68 20 66 69 65 6c 64 | 2e 20 20 49 6e 20 61 6c |ch field|. In al|
|00002510| 6c 20 6f 74 68 65 72 20 | 63 61 73 65 73 20 79 6f |l other |cases yo|
|00002520| 75 20 73 68 6f 75 6c 64 | 20 72 65 61 64 20 65 61 |u should| read ea|
|00002530| 63 68 20 73 75 62 73 74 | 72 69 6e 67 20 77 69 74 |ch subst|ring wit|
|00002540| 68 20 61 20 73 65 70 61 | 72 61 74 65 20 73 74 61 |h a sepa|rate sta|
|00002550| 74 65 6d 65 6e 74 20 28 | 61 73 20 77 69 74 68 20 |tement (|as with |
|00002560| 50 61 73 63 61 6c 29 2e | 20 20 46 6f 72 20 65 78 |Pascal).| For ex|
|00002570| 61 6d 70 6c 65 2c 20 74 | 6f 20 72 65 61 64 20 74 |ample, t|o read t|
|00002580| 68 65 20 76 61 72 69 61 | 62 6c 65 73 20 61 6c 70 |he varia|bles alp|
|00002590| 68 61 20 61 6e 64 20 62 | 65 74 61 20 66 72 6f 6d |ha and b|eta from|
|000025a0| 20 74 68 65 20 73 74 72 | 69 6e 67 20 75 4e 61 6d | the str|ing uNam|
|000025b0| 65 2c 20 75 73 65 0d 20 | 20 73 73 63 61 6e 66 28 |e, use. | sscanf(|
|000025c0| 75 4e 61 6d 65 2c 22 25 | 35 6c 64 22 2c 26 61 6c |uName,"%|5ld",&al|
|000025d0| 70 68 61 29 3b 0d 20 20 | 73 73 63 61 6e 66 28 26 |pha);. |sscanf(&|
|000025e0| 75 4e 61 6d 65 5b 35 5d | 2c 22 25 35 6c 64 22 2c |uName[5]|,"%5ld",|
|000025f0| 26 62 65 74 61 29 3b 0d | 77 68 65 72 65 20 22 26 |&beta);.|where "&|
|00002600| 75 4e 61 6d 65 5b 35 5d | 22 20 6d 65 61 6e 73 20 |uName[5]|" means |
|00002610| 74 68 61 74 20 74 68 65 | 20 73 65 63 6f 6e 64 20 |that the| second |
|00002620| 73 63 61 6e 20 73 68 6f | 75 6c 64 20 62 65 67 69 |scan sho|uld begi|
|00002630| 6e 20 61 74 20 74 68 65 | 20 6c 6f 63 61 74 69 6f |n at the| locatio|
|00002640| 6e 20 69 6e 20 6d 65 6d | 6f 72 79 20 77 68 69 63 |n in mem|ory whic|
|00002650| 68 20 63 6f 72 72 65 73 | 70 6f 6e 64 73 20 74 6f |h corres|ponds to|
|00002660| 20 74 68 65 20 73 69 78 | 74 68 20 63 68 61 72 61 | the six|th chara|
|00002670| 63 74 65 72 20 70 6f 73 | 69 74 69 6f 6e 20 6f 66 |cter pos|ition of|
|00002680| 20 75 4e 61 6d 65 20 28 | 30 2d 62 61 73 65 64 20 | uName (|0-based |
|00002690| 61 72 72 61 79 20 69 6e | 64 65 78 69 6e 67 29 2e |array in|dexing).|
|000026a0| 00 00 0d 9b 43 6f 6d 6d | 6f 6e 20 43 20 50 69 74 |....Comm|on C Pit|
|000026b0| 66 61 6c 6c 73 0d 20 20 | 57 65 20 6f 66 74 65 6e |falls. |We often|
|000026c0| 20 65 6e 63 6f 75 6e 74 | 65 72 20 70 72 6f 67 72 | encount|er progr|
|000026d0| 61 6d 6d 65 72 73 20 77 | 68 6f 20 61 72 65 20 6e |ammers w|ho are n|
|000026e0| 65 77 20 74 6f 20 43 20 | 61 6e 64 20 63 61 6c 6c |ew to C |and call|
|000026f0| 20 75 73 20 77 69 74 68 | 20 43 2d 72 65 6c 61 74 | us with| C-relat|
|00002700| 65 64 20 70 72 6f 67 72 | 61 6d 6d 69 6e 67 20 70 |ed progr|amming p|
|00002710| 72 6f 62 6c 65 6d 73 2e | 20 20 48 65 72 65 20 61 |roblems.| Here a|
|00002720| 72 65 20 61 20 66 65 77 | 20 6f 66 20 74 68 65 20 |re a few| of the |
|00002730| 6d 61 6e 79 20 74 68 69 | 6e 67 73 20 74 6f 20 77 |many thi|ngs to w|
|00002740| 61 74 63 68 20 6f 75 74 | 20 66 6f 72 20 77 68 65 |atch out| for whe|
|00002750| 6e 20 70 72 6f 67 72 61 | 6d 6d 69 6e 67 20 77 69 |n progra|mming wi|
|00002760| 74 68 20 43 2e 0d 0d a5 | 20 43 6f 64 65 20 77 72 |th C....| Code wr|
|00002770| 69 74 74 65 6e 20 69 6e | 20 43 20 63 61 6e 20 62 |itten in| C can b|
|00002780| 65 20 73 69 6d 75 6c 74 | 61 6e 65 6f 75 73 6c 79 |e simult|aneously|
|00002790| 20 76 65 72 79 20 70 6f | 77 65 72 66 75 6c 20 61 | very po|werful a|
|000027a0| 6e 64 20 76 65 72 79 20 | 6f 62 73 63 75 72 65 2e |nd very |obscure.|
|000027b0| 20 20 57 65 20 68 61 76 | 65 20 74 72 69 65 64 20 | We hav|e tried |
|000027c0| 74 6f 20 77 72 69 74 65 | 20 74 68 65 20 43 20 65 |to write| the C e|
|000027d0| 78 61 6d 70 6c 65 20 70 | 72 6f 67 72 61 6d 73 20 |xample p|rograms |
|000027e0| 69 6e 20 73 75 63 68 20 | 61 20 77 61 79 20 74 68 |in such |a way th|
|000027f0| 61 74 20 74 68 65 79 20 | 6d 61 69 6e 74 61 69 6e |at they |maintain|
|00002800| 20 61 20 6c 69 6e 65 2d | 62 79 2d 6c 69 6e 65 20 | a line-|by-line |
|00002810| 63 6f 72 72 65 73 70 6f | 6e 64 65 6e 63 65 20 74 |correspo|ndence t|
|00002820| 6f 20 74 68 65 20 46 6f | 72 74 72 61 6e 20 61 6e |o the Fo|rtran an|
|00002830| 64 20 50 61 73 63 61 6c | 20 65 78 61 6d 70 6c 65 |d Pascal| example|
|00002840| 20 70 72 6f 67 72 61 6d | 73 2e 20 20 49 66 20 79 | program|s. If y|
|00002850| 6f 75 20 64 6f 6e 27 74 | 20 75 6e 64 65 72 73 74 |ou don't| underst|
|00002860| 61 6e 64 20 77 68 61 74 | 20 77 65 20 61 72 65 20 |and what| we are |
|00002870| 64 6f 69 6e 67 20 69 6e | 20 43 2c 20 74 72 79 20 |doing in| C, try |
|00002880| 6c 6f 6f 6b 69 6e 67 20 | 61 74 20 74 68 65 20 63 |looking |at the c|
|00002890| 6f 72 72 65 73 70 6f 6e | 64 69 6e 67 20 46 6f 72 |orrespon|ding For|
|000028a0| 74 72 61 6e 20 6f 72 20 | 50 61 73 63 61 6c 20 73 |tran or |Pascal s|
|000028b0| 6f 75 72 63 65 20 63 6f | 64 65 2e 0d 0d a5 20 41 |ource co|de.... A|
|000028c0| 20 6d 69 73 73 69 6e 67 | 20 22 3b 22 20 61 74 20 | missing| ";" at |
|000028d0| 74 68 65 20 65 6e 64 20 | 6f 66 20 61 20 6c 69 6e |the end |of a lin|
|000028e0| 65 2c 20 6f 72 20 74 68 | 65 20 75 73 65 20 6f 66 |e, or th|e use of|
|000028f0| 20 22 3d 22 20 69 6e 73 | 74 65 61 64 20 6f 66 20 | "=" ins|tead of |
|00002900| 22 3d 3d 22 20 69 6e 20 | 61 20 6c 6f 67 69 63 61 |"==" in |a logica|
|00002910| 6c 20 65 78 70 72 65 73 | 73 69 6f 6e 20 61 72 65 |l expres|sion are|
|00002920| 20 63 6f 6d 6d 6f 6e 20 | 6d 69 73 74 61 6b 65 73 | common |mistakes|
|00002930| 2e 0d 0d a5 20 43 20 61 | 6c 77 61 79 73 20 75 73 |.... C a|lways us|
|00002940| 65 73 20 30 2d 62 61 73 | 65 64 20 61 72 72 61 79 |es 0-bas|ed array|
|00002950| 20 69 6e 64 65 78 69 6e | 67 2c 20 61 6c 74 68 6f | indexin|g, altho|
|00002960| 75 67 68 20 61 72 72 61 | 79 20 64 65 63 6c 61 72 |ugh arra|y declar|
|00002970| 61 74 69 6f 6e 73 20 61 | 72 65 20 31 2d 62 61 73 |ations a|re 1-bas|
|00002980| 65 64 2e 20 20 46 6f 72 | 20 65 78 61 6d 70 6c 65 |ed. For| example|
|00002990| 2c 20 61 6e 20 61 72 72 | 61 79 20 22 58 22 20 6f |, an arr|ay "X" o|
|000029a0| 66 20 31 30 20 69 6e 74 | 65 67 65 72 73 20 77 6f |f 10 int|egers wo|
|000029b0| 75 6c 64 20 62 65 20 64 | 69 6d 65 6e 73 69 6f 6e |uld be d|imension|
|000029c0| 65 64 20 61 73 20 22 58 | 5b 31 30 5d 22 20 62 75 |ed as "X|[10]" bu|
|000029d0| 74 20 74 68 65 20 31 30 | 20 65 6c 65 6d 65 6e 74 |t the 10| element|
|000029e0| 73 20 77 6f 75 6c 64 20 | 62 65 20 69 6e 64 65 78 |s would |be index|
|000029f0| 65 64 20 66 72 6f 6d 20 | 30 20 74 6f 20 39 2e 20 |ed from |0 to 9. |
|00002a00| 20 4d 61 6e 79 20 43 20 | 70 72 6f 67 72 61 6d 6d | Many C |programm|
|00002a10| 65 72 73 20 66 69 6e 64 | 20 74 68 69 73 20 63 6f |ers find| this co|
|00002a20| 75 6e 74 65 72 2d 69 6e | 74 75 69 74 69 76 65 20 |unter-in|tuitive |
|00002a30| 61 6e 64 20 61 64 64 20 | 61 6e 20 65 78 74 72 61 |and add |an extra|
|00002a40| 20 65 6c 65 6d 65 6e 74 | 20 74 6f 20 65 61 63 68 | element| to each|
|00002a50| 20 61 72 72 61 79 20 73 | 6f 20 74 68 61 74 20 74 | array s|o that t|
|00002a60| 68 65 79 20 63 61 6e 20 | 75 73 65 20 31 2d 62 61 |hey can |use 1-ba|
|00002a70| 73 65 64 20 69 6e 64 65 | 78 69 6e 67 21 0d 0d a5 |sed inde|xing!...|
|00002a80| 20 49 66 20 61 20 22 63 | 61 73 65 22 20 69 6e 20 | If a "c|ase" in |
|00002a90| 61 20 22 73 77 69 74 63 | 68 22 20 62 6c 6f 63 6b |a "switc|h" block|
|00002aa0| 20 64 6f 65 73 20 6e 6f | 74 20 65 6e 64 20 69 6e | does no|t end in|
|00002ab0| 20 22 62 72 65 61 6b 22 | 2c 20 74 68 65 6e 20 74 | "break"|, then t|
|00002ac0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 63 61 73 |he follo|wing cas|
|00002ad0| 65 20 69 73 20 61 6c 73 | 6f 20 65 78 65 63 75 74 |e is als|o execut|
|00002ae0| 65 64 2e 20 20 4d 6f 73 | 74 20 70 72 6f 67 72 61 |ed. Mos|t progra|
|00002af0| 6d 6d 65 72 73 20 66 69 | 6e 64 20 74 68 69 73 20 |mmers fi|nd this |
|00002b00| 74 6f 20 62 65 20 63 6f | 75 6e 74 65 72 2d 69 6e |to be co|unter-in|
|00002b10| 74 75 69 74 69 76 65 20 | 28 74 68 65 20 70 6f 69 |tuitive |(the poi|
|00002b20| 6e 74 20 6f 66 20 61 20 | 63 61 73 65 20 62 6c 6f |nt of a |case blo|
|00002b30| 63 6b 20 69 73 20 61 6c | 6d 6f 73 74 20 61 6c 77 |ck is al|most alw|
|00002b40| 61 79 73 20 74 6f 20 65 | 78 65 63 75 74 65 20 6f |ays to e|xecute o|
|00002b50| 6e 65 20 63 61 73 65 20 | 6f 72 20 61 6e 6f 74 68 |ne case |or anoth|
|00002b60| 65 72 29 2e 0d 0d a5 20 | 54 68 65 20 66 6f 6c 6c |er).... |The foll|
|00002b70| 6f 77 69 6e 67 20 65 78 | 70 72 65 73 73 69 6f 6e |owing ex|pression|
|00002b80| 73 20 61 72 65 20 65 71 | 75 69 76 61 6c 65 6e 74 |s are eq|uivalent|
|00002b90| 2c 20 61 6e 64 20 62 6f | 74 68 20 66 6f 72 6d 73 |, and bo|th forms|
|00002ba0| 20 61 72 65 20 75 73 65 | 64 20 62 79 20 43 20 70 | are use|d by C p|
|00002bb0| 72 6f 67 72 61 6d 6d 65 | 72 73 3a 20 20 22 28 2a |rogramme|rs: "(*|
|00002bc0| 67 57 69 6e 64 70 74 72 | 5b 30 5d 29 2e 74 78 46 |gWindptr|[0]).txF|
|00002bd0| 6f 6e 74 22 20 20 61 6e | 64 20 20 22 67 57 69 6e |ont" an|d "gWin|
|00002be0| 64 70 74 72 5b 30 5d 2d | 3e 74 78 46 6f 6e 74 22 |dptr[0]-|>txFont"|
|00002bf0| 2e 20 20 4e 6f 74 65 2c | 20 69 6e 20 70 61 72 74 |. Note,| in part|
|00002c00| 69 63 75 6c 61 72 2c 20 | 74 68 65 20 6e 65 65 64 |icular, |the need|
|00002c10| 20 69 6e 20 74 68 69 73 | 20 63 61 73 65 20 74 6f | in this| case to|
|00002c20| 20 75 73 65 20 70 61 72 | 65 6e 74 68 65 73 65 73 | use par|entheses|
|00002c30| 20 77 69 74 68 20 22 2a | 22 2c 20 73 69 6e 63 65 | with "*|", since|
|00002c40| 20 22 2e 22 20 74 61 6b | 65 73 20 70 72 65 63 65 | "." tak|es prece|
|00002c50| 64 65 6e 63 65 20 6f 76 | 65 72 20 22 2a 22 2e 0d |dence ov|er "*"..|
|00002c60| 0d a5 20 41 6c 74 68 6f | 75 67 68 20 74 68 65 20 |.. Altho|ugh the |
|00002c70| 61 64 64 72 65 73 73 20 | 6f 66 20 61 6e 20 61 72 |address |of an ar|
|00002c80| 72 61 79 20 6f 62 74 61 | 69 6e 65 64 20 77 69 74 |ray obta|ined wit|
|00002c90| 68 20 74 68 65 20 22 26 | 22 20 6f 70 65 72 61 74 |h the "&|" operat|
|00002ca0| 6f 72 20 61 6e 64 20 74 | 68 65 20 61 72 72 61 79 |or and t|he array|
|00002cb0| 20 6e 61 6d 65 20 63 61 | 6e 20 62 65 20 75 73 65 | name ca|n be use|
|00002cc0| 64 20 69 6e 74 65 72 63 | 68 61 6e 67 65 61 62 6c |d interc|hangeabl|
|00002cd0| 79 20 69 6e 20 43 2c 20 | 77 65 20 68 61 76 65 2c |y in C, |we have,|
|00002ce0| 20 66 6f 72 20 63 6f 6e | 73 69 73 74 65 6e 63 79 | for con|sistency|
|00002cf0| 20 61 63 72 6f 73 73 20 | 63 6f 6d 70 69 6c 65 72 | across |compiler|
|00002d00| 73 2c 20 61 76 6f 69 64 | 65 64 20 75 73 65 20 6f |s, avoid|ed use o|
|00002d10| 66 20 74 68 65 20 22 26 | 22 20 6f 70 65 72 61 74 |f the "&|" operat|
|00002d20| 6f 72 20 62 65 66 6f 72 | 65 20 61 72 72 61 79 20 |or befor|e array |
|00002d30| 6e 61 6d 65 73 2e 20 20 | 4e 6f 74 65 2c 20 68 6f |names. |Note, ho|
|00002d40| 77 65 76 65 72 2c 20 74 | 68 61 74 20 74 68 69 73 |wever, t|hat this|
|00002d50| 20 65 71 75 69 76 61 6c | 65 6e 63 65 20 6f 66 20 | equival|ence of |
|00002d60| 61 6e 20 61 72 72 61 79 | 27 73 20 61 64 64 72 65 |an array|'s addre|
|00002d70| 73 73 20 61 6e 64 20 74 | 68 65 20 61 72 72 61 79 |ss and t|he array|
|00002d80| 20 6e 61 6d 65 20 64 6f | 65 73 20 6e 6f 74 20 65 | name do|es not e|
|00002d90| 78 74 65 6e 64 20 74 6f | 20 22 73 74 72 75 63 74 |xtend to| "struct|
|00002da0| 22 73 2e 20 20 46 6f 72 | 20 65 78 61 6d 70 6c 65 |"s. For| example|
|00002db0| 2c 20 74 68 65 20 74 6f | 6f 6c 62 6f 78 20 74 79 |, the to|olbox ty|
|00002dc0| 70 65 20 22 52 65 63 74 | 22 20 69 73 20 61 20 73 |pe "Rect|" is a s|
|00002dd0| 74 72 75 63 74 2c 20 6e | 6f 74 20 61 6e 20 61 72 |truct, n|ot an ar|
|00002de0| 72 61 79 2c 20 73 6f 20 | 61 20 76 61 72 69 61 62 |ray, so |a variab|
|00002df0| 6c 65 20 6f 66 20 74 68 | 69 73 20 74 79 70 65 20 |le of th|is type |
|00002e00| 73 68 6f 75 6c 64 20 61 | 6c 77 61 79 73 20 62 65 |should a|lways be|
|00002e10| 20 70 72 65 63 65 65 64 | 65 64 20 62 79 20 22 26 | preceed|ed by "&|
|00002e20| 22 20 77 68 65 6e 20 70 | 61 73 73 65 64 20 61 73 |" when p|assed as|
|00002e30| 20 61 6e 20 61 72 67 75 | 6d 65 6e 74 20 69 6e 20 | an argu|ment in |
|00002e40| 61 20 74 6f 6f 6c 62 6f | 78 20 63 61 6c 6c 2e 20 |a toolbo|x call. |
|00002e50| 20 46 69 6e 61 6c 6c 79 | 2c 20 69 66 20 72 65 66 | Finally|, if ref|
|00002e60| 65 72 65 6e 63 69 6e 67 | 20 74 68 65 20 61 64 64 |erencing| the add|
|00002e70| 72 65 73 73 20 6f 66 20 | 61 20 6e 6f 6e 61 72 72 |ress of |a nonarr|
|00002e80| 61 79 20 65 6c 65 6d 65 | 6e 74 20 77 69 74 68 69 |ay eleme|nt withi|
|00002e90| 6e 20 61 6e 20 61 72 72 | 61 79 2c 20 74 68 65 6e |n an arr|ay, then|
|00002ea0| 20 74 68 65 20 22 26 22 | 20 6f 70 65 72 61 74 6f | the "&"| operato|
|00002eb0| 72 20 6d 75 73 74 20 62 | 65 20 75 73 65 64 2e 20 |r must b|e used. |
|00002ec0| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 74 68 | For exa|mple, th|
|00002ed0| 65 20 74 6f 6f 6c 62 6f | 78 20 63 61 6c 6c 20 42 |e toolbo|x call B|
|00002ee0| 6c 6f 63 6b 4d 6f 76 65 | 20 65 78 70 65 63 74 73 |lockMove| expects|
|00002ef0| 20 61 20 73 6f 75 72 63 | 65 20 61 64 64 72 65 73 | a sourc|e addres|
|00002f00| 73 2c 20 64 65 73 74 69 | 6e 61 74 69 6f 6e 20 61 |s, desti|nation a|
|00002f10| 64 64 72 65 73 73 2c 20 | 61 6e 64 20 61 20 6e 75 |ddress, |and a nu|
|00002f20| 6d 62 65 72 20 6f 66 20 | 62 79 74 65 73 20 74 6f |mber of |bytes to|
|00002f30| 20 6d 6f 76 65 2e 20 20 | 49 66 20 22 61 22 20 61 | move. |If "a" a|
|00002f40| 6e 64 20 22 62 22 20 61 | 72 65 20 6f 6e 65 2d 64 |nd "b" a|re one-d|
|00002f50| 69 6d 65 6e 73 69 6f 6e | 61 6c 20 69 6e 74 65 67 |imension|al integ|
|00002f60| 65 72 20 61 72 72 61 79 | 73 2c 20 74 68 65 6e 20 |er array|s, then |
|00002f70| 77 72 69 74 69 6e 67 0d | 20 20 42 6c 6f 63 6b 4d |writing.| BlockM|
|00002f80| 6f 76 65 28 26 61 5b 69 | 5d 2c 20 26 62 5b 6a 5d |ove(&a[i|], &b[j]|
|00002f90| 2c 20 34 4c 29 3b 0d 77 | 6f 75 6c 64 20 6d 6f 76 |, 4L);.w|ould mov|
|00002fa0| 65 20 34 20 62 79 74 65 | 73 20 66 72 6f 6d 20 74 |e 4 byte|s from t|
|00002fb0| 68 65 20 22 61 22 20 61 | 72 72 61 79 20 61 74 20 |he "a" a|rray at |
|00002fc0| 65 6c 65 6d 65 6e 74 20 | 22 69 22 20 74 6f 20 74 |element |"i" to t|
|00002fd0| 68 65 20 22 62 22 20 61 | 72 72 61 79 20 61 74 20 |he "b" a|rray at |
|00002fe0| 65 6c 65 6d 65 6e 74 20 | 22 6a 22 2e 20 20 57 69 |element |"j". Wi|
|00002ff0| 74 68 6f 75 74 20 74 68 | 65 20 22 26 22 20 6f 70 |thout th|e "&" op|
|00003000| 65 72 61 74 6f 72 2c 0d | 20 20 42 6c 6f 63 6b 4d |erator,.| BlockM|
|00003010| 6f 76 65 28 61 5b 69 5d | 2c 20 62 5b 6a 5d 2c 20 |ove(a[i]|, b[j], |
|00003020| 34 4c 29 3b 0d 77 6f 75 | 6c 64 20 6d 6f 76 65 20 |4L);.wou|ld move |
|00003030| 34 20 62 79 74 65 73 20 | 66 72 6f 6d 20 74 68 65 |4 bytes |from the|
|00003040| 20 61 64 64 72 65 73 73 | 20 67 69 76 65 6e 20 62 | address| given b|
|00003050| 79 20 22 61 5b 69 5d 22 | 20 74 6f 20 74 68 65 20 |y "a[i]"| to the |
|00003060| 61 64 64 72 65 73 73 20 | 67 69 76 65 6e 20 62 79 |address |given by|
|00003070| 20 22 62 5b 6a 5d 22 20 | 28 70 72 6f 62 61 62 6c | "b[j]" |(probabl|
|00003080| 79 20 6e 6f 74 20 77 68 | 61 74 20 79 6f 75 20 69 |y not wh|at you i|
|00003090| 6e 74 65 6e 64 65 64 21 | 29 2e 20 20 4f 6e 20 74 |ntended!|). On t|
|000030a0| 68 65 20 6f 74 68 65 72 | 20 68 61 6e 64 2c 20 69 |he other| hand, i|
|000030b0| 66 20 22 61 22 20 61 6e | 64 20 22 62 22 20 77 65 |f "a" an|d "b" we|
|000030c0| 72 65 20 61 72 72 61 79 | 73 20 6f 66 20 73 74 72 |re array|s of str|
|000030d0| 69 6e 67 73 20 28 61 72 | 72 61 79 73 20 6f 66 20 |ings (ar|rays of |
|000030e0| 63 68 61 72 61 63 74 65 | 72 20 61 72 72 61 79 73 |characte|r arrays|
|000030f0| 29 2c 20 74 68 65 6e 20 | 77 72 69 74 69 6e 67 0d |), then |writing.|
|00003100| 20 20 42 6c 6f 63 6b 4d | 6f 76 65 28 26 61 5b 69 | BlockM|ove(&a[i|
|00003110| 5d 2c 20 26 62 5b 6a 5d | 2c 20 34 4c 29 3b 0d 77 |], &b[j]|, 4L);.w|
|00003120| 6f 75 6c 64 20 70 72 6f | 64 75 63 65 20 74 68 65 |ould pro|duce the|
|00003130| 20 73 61 6d 65 20 72 65 | 73 75 6c 74 20 61 73 0d | same re|sult as.|
|00003140| 20 20 42 6c 6f 63 6b 4d | 6f 76 65 28 61 5b 69 5d | BlockM|ove(a[i]|
|00003150| 2c 20 62 5b 6a 5d 2c 20 | 34 4c 29 3b 0d 54 68 69 |, b[j], |4L);.Thi|
|00003160| 73 20 63 61 6e 20 62 65 | 20 71 75 69 74 65 20 63 |s can be| quite c|
|00003170| 6f 6e 66 75 73 69 6e 67 | 2e 0d 0d a5 20 57 68 65 |onfusing|.... Whe|
|00003180| 6e 20 72 65 61 64 69 6e | 67 20 61 6e 64 20 77 72 |n readin|g and wr|
|00003190| 69 74 69 6e 67 20 69 6e | 74 65 67 65 72 73 20 77 |iting in|tegers w|
|000031a0| 69 74 68 20 22 70 72 69 | 6e 74 66 22 20 61 6e 64 |ith "pri|ntf" and|
|000031b0| 20 22 73 63 61 6e 66 22 | 20 28 6f 72 20 72 65 6c | "scanf"| (or rel|
|000031c0| 61 74 65 64 20 66 75 6e | 63 74 69 6f 6e 73 29 2c |ated fun|ctions),|
|000031d0| 20 22 6c 6f 6e 67 22 20 | 28 34 2d 62 79 74 65 29 | "long" |(4-byte)|
|000031e0| 20 69 6e 74 65 67 65 72 | 73 20 6d 75 73 74 20 62 | integer|s must b|
|000031f0| 65 20 61 73 73 69 67 6e | 65 64 20 61 6e 20 22 6c |e assign|ed an "l|
|00003200| 22 20 28 6c 6f 77 65 72 | 20 63 61 73 65 20 4c 29 |" (lower| case L)|
|00003210| 20 61 73 20 74 68 65 20 | 73 69 7a 65 20 73 70 65 | as the |size spe|
|00003220| 63 69 66 69 63 61 74 69 | 6f 6e 20 69 6e 20 74 68 |cificati|on in th|
|00003230| 65 20 63 6f 72 72 65 73 | 70 6f 6e 64 69 6e 67 20 |e corres|ponding |
|00003240| 63 6f 6e 76 65 72 73 69 | 6f 6e 20 73 70 65 63 69 |conversi|on speci|
|00003250| 66 69 63 61 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |fication| of the |
|00003260| 66 6f 72 6d 61 74 20 73 | 74 72 69 6e 67 2e 0d 0d |format s|tring...|
|00003270| a5 20 49 66 20 6e 6f 74 | 20 75 73 69 6e 67 20 70 |. If not| using p|
|00003280| 72 6f 74 6f 74 79 70 65 | 73 2c 20 79 6f 75 20 6d |rototype|s, you m|
|00003290| 75 73 74 20 62 65 20 63 | 61 72 65 66 75 6c 20 74 |ust be c|areful t|
|000032a0| 6f 20 70 61 73 73 20 74 | 68 65 20 70 72 6f 70 65 |o pass t|he prope|
|000032b0| 72 20 69 6e 74 65 67 65 | 72 20 74 79 70 65 20 61 |r intege|r type a|
|000032c0| 73 20 61 72 67 75 6d 65 | 6e 74 73 20 69 6e 20 66 |s argume|nts in f|
|000032d0| 75 6e 63 74 69 6f 6e 20 | 63 61 6c 6c 73 2e 20 20 |unction |calls. |
|000032e0| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 74 68 65 |For exam|ple, the|
|000032f0| 20 46 61 63 65 49 74 20 | 64 69 73 70 61 74 63 68 | FaceIt |dispatch|
|00003300| 69 6e 67 20 70 72 6f 63 | 65 64 75 72 65 20 65 78 |ing proc|edure ex|
|00003310| 70 65 63 74 73 20 22 6c | 6f 6e 67 22 20 28 34 2d |pects "l|ong" (4-|
|00003320| 62 79 74 65 29 20 61 72 | 67 75 6d 65 6e 74 73 2c |byte) ar|guments,|
|00003330| 20 73 6f 20 79 6f 75 20 | 73 68 6f 75 6c 64 20 6e | so you |should n|
|00003340| 6f 74 20 70 61 73 73 20 | 69 74 20 22 73 68 6f 72 |ot pass |it "shor|
|00003350| 74 22 20 28 32 2d 62 79 | 74 65 29 20 69 6e 74 65 |t" (2-by|te) inte|
|00003360| 67 65 72 73 2e 20 20 42 | 65 20 63 61 72 65 66 75 |gers. B|e carefu|
|00003370| 6c 2c 20 69 6e 20 70 61 | 72 74 69 63 75 6c 61 72 |l, in pa|rticular|
|00003380| 2c 20 77 68 65 6e 20 70 | 61 73 73 69 6e 67 20 63 |, when p|assing c|
|00003390| 6f 6e 73 74 61 6e 74 73 | 20 73 69 6e 63 65 20 74 |onstants| since t|
|000033a0| 68 65 73 65 20 64 65 66 | 61 75 6c 74 20 74 6f 20 |hese def|ault to |
|000033b0| 73 68 6f 72 74 20 69 6e | 74 65 67 65 72 73 20 75 |short in|tegers u|
|000033c0| 6e 6c 65 73 73 20 66 6f | 6c 6c 6f 77 65 64 20 62 |nless fo|llowed b|
|000033d0| 79 20 22 4c 22 3a 0d 0d | 20 20 46 61 63 65 49 74 |y "L":..| FaceIt|
|000033e0| 28 30 2c 44 6f 4c 6f 6f | 70 2c 30 2c 30 2c 30 2c |(0,DoLoo|p,0,0,0,|
|000033f0| 30 29 3b 20 20 20 20 20 | 20 20 20 20 20 2f 2a 20 |0); | /* |
|00003400| 57 52 4f 4e 47 21 21 21 | 20 2a 2f 0d 20 20 46 61 |WRONG!!!| */. Fa|
|00003410| 63 65 49 74 28 30 4c 2c | 44 6f 4c 6f 6f 70 2c 30 |ceIt(0L,|DoLoop,0|
|00003420| 4c 2c 30 4c 2c 30 4c 2c | 30 4c 29 3b 20 20 20 20 |L,0L,0L,|0L); |
|00003430| 20 2f 2a 20 52 49 47 48 | 54 21 21 21 20 2a 2f 00 | /* RIGH|T!!! */.|
|00003440| 00 03 6c 54 48 49 4e 4b | 20 50 72 6f 6a 65 63 74 |..lTHINK| Project|
|00003450| 73 0d 20 20 57 68 65 6e | 20 64 65 62 75 67 67 69 |s. When| debuggi|
|00003460| 6e 67 20 61 20 73 6d 61 | 6c 6c 20 70 72 6f 67 72 |ng a sma|ll progr|
|00003470| 61 6d 20 74 68 61 74 20 | 75 73 65 73 20 46 61 63 |am that |uses Fac|
|00003480| 65 49 74 2c 20 31 36 4b | 20 66 6f 72 20 74 68 65 |eIt, 16K| for the|
|00003490| 20 73 74 61 63 6b 20 73 | 69 7a 65 20 61 6e 64 20 | stack s|ize and |
|000034a0| 35 31 32 4b 20 66 6f 72 | 20 74 68 65 20 7a 6f 6e |512K for| the zon|
|000034b0| 65 20 73 69 7a 65 20 77 | 6f 72 6b 20 77 65 6c 6c |e size w|ork well|
|000034c0| 2e 20 20 54 68 65 72 65 | 20 69 73 20 6e 6f 20 6e |. There| is no n|
|000034d0| 65 65 64 20 74 6f 20 70 | 72 6f 76 69 64 65 20 74 |eed to p|rovide t|
|000034e0| 68 65 20 70 72 6f 6a 65 | 63 74 20 77 69 74 68 20 |he proje|ct with |
|000034f0| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 61 20 72 65 |the name| of a re|
|00003500| 73 6f 75 72 63 65 20 66 | 69 6c 65 20 73 69 6e 63 |source f|ile sinc|
|00003510| 65 20 74 68 69 73 20 69 | 73 20 64 6f 6e 65 20 65 |e this i|s done e|
|00003520| 78 70 6c 69 63 69 74 6c | 79 20 69 6e 20 79 6f 75 |xplicitl|y in you|
|00003530| 72 20 63 6f 64 65 20 28 | 76 69 61 20 75 4e 61 6d |r code (|via uNam|
|00003540| 65 29 2e 20 20 4f 6e 65 | 20 69 64 69 6f 73 79 6e |e). One| idiosyn|
|00003550| 63 72 61 63 79 20 74 6f | 20 62 65 20 61 77 61 72 |cracy to| be awar|
|00003560| 65 20 6f 66 20 69 73 20 | 74 68 61 74 20 79 6f 75 |e of is |that you|
|00003570| 20 77 69 6c 6c 20 6e 6f | 74 20 62 65 20 61 62 6c | will no|t be abl|
|00003580| 65 20 74 6f 20 62 72 65 | 61 6b 20 69 6e 74 6f 2c |e to bre|ak into,|
|00003590| 20 6f 72 20 73 65 74 20 | 62 72 65 61 6b 70 6f 69 | or set |breakpoi|
|000035a0| 6e 74 73 20 69 6e 2c 20 | 63 6f 64 65 20 74 68 61 |nts in, |code tha|
|000035b0| 74 20 62 65 6c 6f 6e 67 | 73 20 74 6f 20 46 61 63 |t belong|s to Fac|
|000035c0| 65 49 74 20 6f 72 20 6f | 74 68 65 72 20 46 61 63 |eIt or o|ther Fac|
|000035d0| 65 57 61 72 65 20 6d 6f | 64 75 6c 65 73 2e 0d 20 |eWare mo|dules.. |
|000035e0| 20 49 66 20 79 6f 75 20 | 63 61 6e 27 74 20 67 65 | If you |can't ge|
|000035f0| 74 20 74 68 65 20 54 48 | 49 4e 4b 20 70 72 6f 6a |t the TH|INK proj|
|00003600| 65 63 74 20 66 69 6c 65 | 73 20 74 6f 20 6f 70 65 |ect file|s to ope|
|00003610| 6e 20 69 74 27 73 20 70 | 72 6f 62 61 62 6c 79 20 |n it's p|robably |
|00003620| 62 65 63 61 75 73 65 20 | 79 6f 75 20 68 61 76 65 |because |you have|
|00003630| 20 61 6e 20 65 61 72 6c | 69 65 72 20 76 65 72 73 | an earl|ier vers|
|00003640| 69 6f 6e 20 6f 66 20 74 | 68 65 20 63 6f 6d 70 69 |ion of t|he compi|
|00003650| 6c 65 72 2e 20 20 53 69 | 6d 70 6c 79 20 63 72 65 |ler. Si|mply cre|
|00003660| 61 74 65 20 61 20 6e 65 | 77 20 70 72 6f 6a 65 63 |ate a ne|w projec|
|00003670| 74 20 66 69 6c 65 20 61 | 6e 64 20 64 65 74 65 72 |t file a|nd deter|
|00003680| 6d 69 6e 65 20 77 68 69 | 63 68 20 66 69 6c 65 73 |mine whi|ch files|
|00003690| 20 79 6f 75 20 6e 65 65 | 64 20 66 72 6f 6d 20 74 | you nee|d from t|
|000036a0| 68 65 20 22 69 6e 63 6c | 75 64 65 22 20 73 74 61 |he "incl|ude" sta|
|000036b0| 74 65 6d 65 6e 74 73 20 | 6f 72 20 22 65 78 74 65 |tements |or "exte|
|000036c0| 72 6e 61 6c 22 20 72 65 | 66 65 72 65 6e 63 65 73 |rnal" re|ferences|
|000036d0| 20 69 6e 20 74 68 65 20 | 64 65 6d 6f 20 70 72 6f | in the |demo pro|
|000036e0| 67 72 61 6d 73 2e 20 20 | 49 66 20 79 6f 75 20 63 |grams. |If you c|
|000036f0| 61 6e 6e 6f 74 20 63 6f | 6d 70 69 6c 65 20 61 20 |annot co|mpile a |
|00003700| 66 69 6c 65 20 64 75 65 | 20 74 6f 20 75 6e 64 65 |file due| to unde|
|00003710| 66 69 6e 65 64 20 74 6f | 6f 6c 62 6f 78 2d 72 65 |fined to|olbox-re|
|00003720| 6c 61 74 65 64 20 74 79 | 70 65 73 2c 20 65 69 74 |lated ty|pes, eit|
|00003730| 68 65 72 20 69 6e 63 6c | 75 64 65 20 74 68 65 20 |her incl|ude the |
|00003740| 66 69 6c 65 73 20 74 68 | 61 74 20 64 65 66 69 6e |files th|at defin|
|00003750| 65 20 73 75 63 68 20 74 | 79 70 65 73 2c 20 6f 72 |e such t|ypes, or|
|00003760| 20 63 68 61 6e 67 65 20 | 74 68 65 20 74 79 70 65 | change |the type|
|00003770| 73 20 74 6f 20 73 69 6d | 70 6c 65 20 68 61 6e 64 |s to sim|ple hand|
|00003780| 6c 65 2c 20 70 6f 69 6e | 74 65 72 2c 20 6f 72 20 |le, poin|ter, or |
|00003790| 69 6e 74 65 67 65 72 20 | 74 79 70 65 73 20 6f 66 |integer |types of|
|000037a0| 20 74 68 65 20 73 61 6d | 65 20 73 69 7a 65 2e 00 | the sam|e size..|
|000037b0| 00 21 5c 41 62 73 6f 66 | 74 20 4d 61 63 46 6f 72 |.!\Absof|t MacFor|
|000037c0| 74 72 61 6e 20 32 2e 34 | 0d 20 20 57 65 20 63 6f |tran 2.4|. We co|
|000037d0| 6e 74 69 6e 75 65 20 74 | 6f 20 73 75 70 70 6f 72 |ntinue t|o suppor|
|000037e0| 74 20 74 68 65 20 6f 6c | 64 20 4d 61 63 46 6f 72 |t the ol|d MacFor|
|000037f0| 74 72 61 6e 20 63 6f 6d | 70 69 6c 65 72 20 69 6e |tran com|piler in|
|00003800| 20 72 65 63 6f 67 6e 69 | 74 69 6f 6e 20 6f 66 20 | recogni|tion of |
|00003810| 74 68 65 20 66 61 63 74 | 20 74 68 61 74 20 6d 61 |the fact| that ma|
|00003820| 6e 79 20 6f 66 20 6f 75 | 72 20 6f 72 69 67 69 6e |ny of ou|r origin|
|00003830| 61 6c 20 63 75 73 74 6f | 6d 65 72 73 20 77 65 72 |al custo|mers wer|
|00003840| 65 20 4d 61 63 46 6f 72 | 74 72 61 6e 20 75 73 65 |e MacFor|tran use|
|00003850| 72 73 2e 20 20 55 73 65 | 72 73 20 6f 66 20 4d 61 |rs. Use|rs of Ma|
|00003860| 63 46 6f 72 74 72 61 6e | 20 32 2e 34 20 73 68 6f |cFortran| 2.4 sho|
|00003870| 75 6c 64 2c 20 68 6f 77 | 65 76 65 72 2c 20 62 65 |uld, how|ever, be|
|00003880| 20 74 68 69 6e 6b 69 6e | 67 20 61 62 6f 75 74 20 | thinkin|g about |
|00003890| 75 70 67 72 61 64 69 6e | 67 20 74 6f 20 41 62 73 |upgradin|g to Abs|
|000038a0| 6f 66 74 27 73 20 4d 50 | 57 20 4d 61 63 46 6f 72 |oft's MP|W MacFor|
|000038b0| 74 72 61 6e 20 63 6f 6d | 70 69 6c 65 72 20 73 69 |tran com|piler si|
|000038c0| 6e 63 65 20 69 74 20 63 | 6f 6e 74 61 69 6e 73 20 |nce it c|ontains |
|000038d0| 6d 61 6e 79 20 65 6e 68 | 61 6e 63 65 6d 65 6e 74 |many enh|ancement|
|000038e0| 73 20 61 6e 64 20 69 73 | 20 63 6c 65 61 72 6c 79 |s and is| clearly|
|000038f0| 20 74 68 65 20 63 6f 6d | 70 69 6c 65 72 20 74 68 | the com|piler th|
|00003900| 61 74 20 69 73 20 67 65 | 74 74 69 6e 67 20 6d 6f |at is ge|tting mo|
|00003910| 73 74 20 6f 66 20 41 62 | 73 6f 66 74 27 73 20 61 |st of Ab|soft's a|
|00003920| 74 74 65 6e 74 69 6f 6e | 2e 0d 0d 45 78 61 6d 70 |ttention|...Examp|
|00003930| 6c 65 20 50 72 6f 67 72 | 61 6d 73 20 20 54 68 65 |le Progr|ams The|
|00003940| 20 65 78 61 6d 70 6c 65 | 20 70 72 6f 67 72 61 6d | example| program|
|00003950| 73 20 68 61 76 65 20 6e | 65 69 74 68 65 72 20 22 |s have n|either "|
|00003960| 66 37 37 2e 72 6c 22 20 | 6e 6f 72 20 61 6e 79 20 |f77.rl" |nor any |
|00003970| 73 75 62 72 6f 75 74 69 | 6e 65 73 20 6c 69 6e 6b |subrouti|nes link|
|00003980| 65 64 20 74 6f 20 74 68 | 65 6d 2e 20 20 54 68 65 |ed to th|em. The|
|00003990| 79 20 77 65 72 65 20 63 | 6f 6d 70 69 6c 65 64 20 |y were c|ompiled |
|000039a0| 75 73 69 6e 67 20 4d 61 | 63 46 6f 72 74 72 61 6e |using Ma|cFortran|
|000039b0| 20 32 2e 34 20 77 69 74 | 68 6f 75 74 20 74 68 65 | 2.4 wit|hout the|
|000039c0| 20 36 38 30 32 30 2f 36 | 38 38 38 31 20 6f 70 74 | 68020/6|8881 opt|
|000039d0| 69 6f 6e 73 20 73 65 74 | 20 73 6f 20 74 68 61 74 |ions set| so that|
|000039e0| 20 74 68 65 79 20 77 6f | 75 6c 64 20 72 75 6e 20 | they wo|uld run |
|000039f0| 6f 6e 20 61 6c 6c 20 4d | 61 63 73 2e 0d 0d 49 6e |on all M|acs...In|
|00003a00| 63 6c 75 64 65 20 46 69 | 6c 65 73 20 20 55 6e 6c |clude Fi|les Unl|
|00003a10| 69 6b 65 20 43 20 61 6e | 64 20 50 61 73 63 61 6c |ike C an|d Pascal|
|00003a20| 2c 20 73 74 61 6e 64 61 | 72 64 20 46 6f 72 74 72 |, standa|rd Fortr|
|00003a30| 61 6e 20 64 6f 65 73 20 | 6e 6f 74 20 73 75 70 70 |an does |not supp|
|00003a40| 6f 72 74 20 22 72 65 63 | 6f 72 64 20 74 79 70 65 |ort "rec|ord type|
|00003a50| 73 22 2c 20 6d 61 6b 69 | 6e 67 20 69 74 20 63 75 |s", maki|ng it cu|
|00003a60| 6d 62 65 72 73 6f 6d 65 | 20 74 6f 20 77 6f 72 6b |mbersome| to work|
|00003a70| 20 77 69 74 68 20 6d 75 | 6c 74 69 70 6c 65 20 22 | with mu|ltiple "|
|00003a80| 69 6e 73 74 61 6e 63 65 | 73 22 20 6f 66 20 73 68 |instance|s" of sh|
|00003a90| 61 72 65 64 20 72 65 63 | 6f 72 64 73 2e 20 20 54 |ared rec|ords. T|
|00003aa0| 68 65 20 63 6c 6f 73 65 | 73 74 20 61 70 70 72 6f |he close|st appro|
|00003ab0| 78 69 6d 61 74 69 6f 6e | 20 74 6f 20 61 20 73 68 |ximation| to a sh|
|00003ac0| 61 72 65 64 20 67 6c 6f | 62 61 6c 20 72 65 63 6f |ared glo|bal reco|
|00003ad0| 72 64 20 69 73 20 61 20 | 46 6f 72 74 72 61 6e 20 |rd is a |Fortran |
|00003ae0| 63 6f 6d 6d 6f 6e 20 62 | 6c 6f 63 6b 20 77 68 69 |common b|lock whi|
|00003af0| 63 68 20 68 61 73 20 61 | 20 73 65 74 20 6f 66 20 |ch has a| set of |
|00003b00| 76 61 72 69 61 62 6c 65 | 73 20 65 71 75 69 76 61 |variable|s equiva|
|00003b10| 6c 65 6e 63 65 64 20 74 | 6f 20 69 74 2e 20 20 41 |lenced t|o it. A|
|00003b20| 6e 20 65 78 61 6d 70 6c | 65 20 6f 66 20 73 75 63 |n exampl|e of suc|
|00003b30| 68 20 61 20 62 6c 6f 63 | 6b 20 63 61 6e 20 62 65 |h a bloc|k can be|
|00003b40| 20 66 6f 75 6e 64 20 69 | 6e 20 74 68 65 20 22 46 | found i|n the "F|
|00003b50| 61 63 65 53 74 6f 72 4d | 46 2e 69 6e 63 22 20 66 |aceStorM|F.inc" f|
|00003b60| 69 6c 65 20 6f 72 20 74 | 68 65 20 63 6f 72 72 65 |ile or t|he corre|
|00003b70| 73 70 6f 6e 64 69 6e 67 | 20 66 69 6c 65 20 61 63 |sponding| file ac|
|00003b80| 63 6f 6d 70 61 6e 79 69 | 6e 67 20 6f 74 68 65 72 |companyi|ng other|
|00003b90| 20 46 61 63 65 57 61 72 | 65 20 6d 6f 64 75 6c 65 | FaceWar|e module|
|00003ba0| 73 20 28 69 74 73 20 6e | 61 6d 65 20 77 69 6c 6c |s (its n|ame will|
|00003bb0| 20 63 6f 6e 74 61 69 6e | 20 74 68 65 20 73 75 62 | contain| the sub|
|00003bc0| 73 74 72 69 6e 67 20 22 | 53 74 6f 72 4d 46 22 29 |string "|StorMF")|
|00003bd0| 2e 20 20 22 46 61 63 65 | 53 74 6f 72 4d 46 2e 69 |. "Face|StorMF.i|
|00003be0| 6e 63 22 20 64 65 63 6c | 61 72 65 73 20 70 61 72 |nc" decl|ares par|
|00003bf0| 61 6d 65 74 65 72 20 6e | 61 6d 65 73 20 6f 66 20 |ameter n|ames of |
|00003c00| 63 6f 72 65 20 46 61 63 | 65 57 61 72 65 20 63 6f |core Fac|eWare co|
|00003c10| 6d 6d 61 6e 64 73 20 61 | 6e 64 20 65 73 74 61 62 |mmands a|nd estab|
|00003c20| 6c 69 73 68 65 73 20 61 | 20 63 6f 6d 6d 6f 6e 20 |lishes a| common |
|00003c30| 62 6c 6f 63 6b 20 74 68 | 61 74 20 63 6f 6e 74 61 |block th|at conta|
|00003c40| 69 6e 73 20 61 6e 20 61 | 72 72 61 79 20 6e 61 6d |ins an a|rray nam|
|00003c50| 65 64 20 22 66 52 65 63 | 22 20 61 6e 64 20 65 71 |ed "fRec|" and eq|
|00003c60| 75 69 76 61 6c 65 6e 63 | 65 64 20 76 61 72 69 61 |uivalenc|ed varia|
|00003c70| 62 6c 65 73 20 74 68 61 | 74 20 61 72 65 20 73 68 |bles tha|t are sh|
|00003c80| 61 72 65 64 20 77 69 74 | 68 20 74 68 65 20 63 6f |ared wit|h the co|
|00003c90| 72 65 20 46 61 63 65 57 | 61 72 65 20 6d 6f 64 75 |re FaceW|are modu|
|00003ca0| 6c 65 73 2e 20 20 54 6f | 20 6d 61 6b 65 20 75 73 |les. To| make us|
|00003cb0| 65 20 6f 66 20 74 68 65 | 73 65 20 76 61 72 69 61 |e of the|se varia|
|00003cc0| 62 6c 65 73 2c 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |bles, th|e follow|
|00003cd0| 69 6e 67 20 6c 69 6e 65 | 20 73 68 6f 75 6c 64 20 |ing line| should |
|00003ce0| 62 65 20 69 6e 73 65 72 | 74 65 64 20 6a 75 73 74 |be inser|ted just|
|00003cf0| 20 61 66 74 65 72 20 79 | 6f 75 72 20 6d 61 69 6e | after y|our main|
|00003d00| 20 70 72 6f 67 72 61 6d | 20 76 61 72 69 61 62 6c | program| variabl|
|00003d10| 65 20 64 65 63 6c 61 72 | 61 74 69 6f 6e 73 2c 20 |e declar|ations, |
|00003d20| 62 75 74 20 62 65 66 6f | 72 65 20 74 68 65 20 66 |but befo|re the f|
|00003d30| 69 72 73 74 20 65 78 65 | 63 75 74 61 62 6c 65 20 |irst exe|cutable |
|00003d40| 73 74 61 74 65 6d 65 6e | 74 3a 0d 20 20 69 6e 63 |statemen|t:. inc|
|00003d50| 6c 75 64 65 20 46 61 63 | 65 53 74 6f 72 4d 46 2e |lude Fac|eStorMF.|
|00003d60| 69 6e 63 0d 41 6c 6c 20 | 70 72 6f 67 72 61 6d 20 |inc.All |program |
|00003d70| 75 6e 69 74 73 20 77 68 | 69 63 68 20 64 69 72 65 |units wh|ich dire|
|00003d80| 63 74 6c 79 20 61 63 63 | 65 73 73 20 65 6c 65 6d |ctly acc|ess elem|
|00003d90| 65 6e 74 73 20 6f 66 20 | 74 68 65 20 22 66 52 65 |ents of |the "fRe|
|00003da0| 63 22 20 73 68 61 72 65 | 64 20 72 65 63 6f 72 64 |c" share|d record|
|00003db0| 20 73 68 6f 75 6c 64 20 | 61 6c 73 6f 20 63 6f 6e | should |also con|
|00003dc0| 74 61 69 6e 20 74 68 65 | 20 61 62 6f 76 65 20 73 |tain the| above s|
|00003dd0| 74 61 74 65 6d 65 6e 74 | 2e 20 20 53 69 6e 63 65 |tatement|. Since|
|00003de0| 20 6e 75 6d 65 72 6f 75 | 73 20 69 6e 63 6c 75 64 | numerou|s includ|
|00003df0| 65 20 73 74 61 74 65 6d | 65 6e 74 73 20 63 61 6e |e statem|ents can|
|00003e00| 20 73 6c 6f 77 20 64 6f | 77 6e 20 63 6f 6d 70 69 | slow do|wn compi|
|00003e10| 6c 61 74 69 6f 6e 2c 20 | 79 6f 75 20 6d 61 79 20 |lation, |you may |
|00003e20| 77 61 6e 74 20 74 6f 20 | 63 72 65 61 74 65 20 61 |want to |create a|
|00003e30| 20 73 6d 61 6c 6c 65 72 | 20 76 65 72 73 69 6f 6e | smaller| version|
|00003e40| 20 6f 66 20 22 46 61 63 | 65 53 74 6f 72 4d 46 2e | of "Fac|eStorMF.|
|00003e50| 69 6e 63 22 20 77 68 69 | 63 68 20 63 6f 6e 74 61 |inc" whi|ch conta|
|00003e60| 69 6e 73 20 6f 6e 6c 79 | 20 74 68 6f 73 65 20 65 |ins only| those e|
|00003e70| 71 75 69 76 61 6c 65 6e | 63 65 20 73 74 61 74 65 |quivalen|ce state|
|00003e80| 6d 65 6e 74 73 20 77 68 | 69 63 68 20 72 65 66 65 |ments wh|ich refe|
|00003e90| 72 20 74 6f 20 65 6c 65 | 6d 65 6e 74 73 20 6f 66 |r to ele|ments of|
|00003ea0| 20 74 68 65 20 73 74 6f | 72 61 67 65 20 61 72 72 | the sto|rage arr|
|00003eb0| 61 79 20 77 68 69 63 68 | 20 79 6f 75 20 72 65 66 |ay which| you ref|
|00003ec0| 65 72 65 6e 63 65 20 69 | 6e 20 79 6f 75 72 20 70 |erence i|n your p|
|00003ed0| 72 6f 67 72 61 6d 2c 20 | 6f 72 20 73 69 6d 70 6c |rogram, |or simpl|
|00003ee0| 79 20 6d 61 6b 65 20 74 | 68 65 20 6e 65 63 65 73 |y make t|he neces|
|00003ef0| 73 61 72 79 20 63 6f 6d | 6d 6f 6e 20 62 6c 6f 63 |sary com|mon bloc|
|00003f00| 6b 20 64 65 63 6c 61 72 | 61 74 69 6f 6e 20 61 6e |k declar|ation an|
|00003f10| 64 20 65 71 75 69 76 61 | 6c 65 6e 63 65 20 73 74 |d equiva|lence st|
|00003f20| 61 74 65 6d 65 6e 74 73 | 20 65 78 70 6c 69 63 69 |atements| explici|
|00003f30| 74 6c 79 20 69 6e 20 79 | 6f 75 72 20 70 72 6f 67 |tly in y|our prog|
|00003f40| 72 61 6d 20 63 6f 64 65 | 2e 0d 09 54 68 65 20 66 |ram code|...The f|
|00003f50| 69 6c 65 20 22 46 61 63 | 65 50 72 6f 63 4d 46 2e |ile "Fac|eProcMF.|
|00003f60| 69 6e 63 22 20 63 6f 6e | 74 61 69 6e 73 20 72 6f |inc" con|tains ro|
|00003f70| 75 74 69 6e 65 73 20 77 | 68 69 63 68 20 61 72 65 |utines w|hich are|
|00003f80| 20 72 65 71 75 69 72 65 | 64 20 66 6f 72 20 6a 75 | require|d for ju|
|00003f90| 6d 70 69 6e 67 20 74 6f | 20 46 61 63 65 57 61 72 |mping to| FaceWar|
|00003fa0| 65 20 6d 6f 64 75 6c 65 | 73 2e 20 20 54 6f 20 6d |e module|s. To m|
|00003fb0| 61 6b 65 20 74 68 65 73 | 65 20 72 6f 75 74 69 6e |ake thes|e routin|
|00003fc0| 65 73 20 61 76 61 69 6c | 61 62 6c 65 20 74 6f 20 |es avail|able to |
|00003fd0| 79 6f 75 72 20 70 72 6f | 67 72 61 6d 2c 20 69 6e |your pro|gram, in|
|00003fe0| 73 65 72 74 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |sert the| followi|
|00003ff0| 6e 67 20 73 74 61 74 65 | 6d 65 6e 74 20 61 73 20 |ng state|ment as |
|00004000| 74 68 65 20 6c 61 73 74 | 20 6c 69 6e 65 20 6f 66 |the last| line of|
|00004010| 20 79 6f 75 72 20 70 72 | 6f 67 72 61 6d 20 66 69 | your pr|ogram fi|
|00004020| 6c 65 20 28 61 6e 64 20 | 6f 66 20 61 6e 79 20 66 |le (and |of any f|
|00004030| 69 6c 65 73 20 75 73 65 | 64 20 74 6f 20 63 72 65 |iles use|d to cre|
|00004040| 61 74 65 20 73 74 61 6e | 64 2d 61 6c 6f 6e 65 2c |ate stan|d-alone,|
|00004050| 20 75 6e 6c 69 6e 6b 65 | 64 20 73 75 62 72 6f 75 | unlinke|d subrou|
|00004060| 74 69 6e 65 73 29 3a 0d | 20 20 69 6e 63 6c 75 64 |tines):.| includ|
|00004070| 65 20 46 61 63 65 50 72 | 6f 63 4d 46 2e 69 6e 63 |e FacePr|ocMF.inc|
|00004080| 0d 0d 57 72 69 74 69 6e | 67 20 54 6f 20 61 6e 64 |..Writin|g To and|
|00004090| 20 52 65 61 64 69 6e 67 | 20 46 72 6f 6d 20 55 6e | Reading| From Un|
|000040a0| 69 74 20 39 20 28 74 68 | 65 20 53 63 72 65 65 6e |it 9 (th|e Screen|
|000040b0| 29 20 77 68 65 6e 20 75 | 73 69 6e 67 20 46 61 63 |) when u|sing Fac|
|000040c0| 65 49 74 0d 49 66 20 79 | 6f 75 20 74 61 6b 65 20 |eIt.If y|ou take |
|000040d0| 61 20 6c 6f 6f 6b 20 61 | 74 20 74 68 65 20 63 6f |a look a|t the co|
|000040e0| 6e 74 65 6e 74 73 20 6f | 66 20 22 46 61 63 65 50 |ntents o|f "FaceP|
|000040f0| 72 6f 63 4d 46 2e 69 6e | 63 22 2c 20 79 6f 75 27 |rocMF.in|c", you'|
|00004100| 6c 6c 20 73 65 65 20 74 | 68 61 74 20 74 68 65 20 |ll see t|hat the |
|00004110| 64 65 66 61 75 6c 74 20 | 46 6f 72 74 72 61 6e 20 |default |Fortran |
|00004120| 77 69 6e 64 6f 77 2c 20 | 69 66 20 70 72 65 73 65 |window, |if prese|
|00004130| 6e 74 2c 20 69 73 20 73 | 69 6d 70 6c 79 20 68 69 |nt, is s|imply hi|
|00004140| 64 64 65 6e 20 61 74 20 | 73 74 61 72 74 75 70 20 |dden at |startup |
|00004150| 73 69 6e 63 65 20 74 68 | 65 20 75 70 64 61 74 65 |since th|e update|
|00004160| 20 65 76 65 6e 74 73 20 | 74 68 61 74 20 69 74 20 | events |that it |
|00004170| 70 72 6f 64 75 63 65 73 | 20 63 61 6e 20 63 61 75 |produces| can cau|
|00004180| 73 65 20 70 72 6f 62 6c | 65 6d 73 20 66 6f 72 20 |se probl|ems for |
|00004190| 46 61 63 65 49 74 2e 20 | 20 46 6f 72 74 75 6e 61 |FaceIt. | Fortuna|
|000041a0| 74 65 6c 79 2c 20 77 68 | 65 6e 20 4d 61 63 46 6f |tely, wh|en MacFo|
|000041b0| 72 74 72 61 6e 20 77 72 | 69 74 65 73 20 74 6f 20 |rtran wr|ites to |
|000041c0| 61 6e 64 20 72 65 61 64 | 73 20 66 72 6f 6d 20 74 |and read|s from t|
|000041d0| 68 65 20 22 73 63 72 65 | 65 6e 22 20 28 75 6e 69 |he "scre|en" (uni|
|000041e0| 74 20 39 29 20 69 74 20 | 6d 61 6b 65 73 20 75 73 |t 9) it |makes us|
|000041f0| 65 20 6f 66 20 77 68 61 | 74 65 76 65 72 20 77 69 |e of wha|tever wi|
|00004200| 6e 64 6f 77 20 69 73 20 | 74 68 65 20 63 75 72 72 |ndow is |the curr|
|00004210| 65 6e 74 20 70 6f 72 74 | 2e 20 20 53 69 6e 63 65 |ent port|. Since|
|00004220| 20 46 61 63 65 49 74 20 | 61 6c 77 61 79 73 20 72 | FaceIt |always r|
|00004230| 65 73 65 74 73 20 74 68 | 65 20 63 75 72 72 65 6e |esets th|e curren|
|00004240| 74 20 70 6f 72 74 20 74 | 6f 20 74 68 65 20 61 63 |t port t|o the ac|
|00004250| 74 69 76 65 20 77 69 6e | 64 6f 77 2c 20 49 2f 4f |tive win|dow, I/O|
|00004260| 20 64 69 72 65 63 74 65 | 64 20 74 6f 20 75 6e 69 | directe|d to uni|
|00004270| 74 20 39 20 61 70 70 65 | 61 72 73 20 69 6e 20 74 |t 9 appe|ars in t|
|00004280| 68 61 74 20 77 69 6e 64 | 6f 77 2e 20 20 59 6f 75 |hat wind|ow. You|
|00004290| 20 63 61 6e 20 63 68 61 | 6e 67 65 20 74 68 69 73 | can cha|nge this|
|000042a0| 20 74 6f 20 61 6e 79 20 | 6f 74 68 65 72 20 77 69 | to any |other wi|
|000042b0| 6e 64 6f 77 20 28 61 20 | 6d 6f 64 65 6c 65 73 73 |ndow (a |modeless|
|000042c0| 20 64 69 61 6c 6f 67 20 | 77 6f 75 6c 64 20 62 65 | dialog |would be|
|000042d0| 20 61 20 67 6f 6f 64 20 | 63 68 6f 69 63 65 29 20 | a good |choice) |
|000042e0| 62 79 20 73 69 6d 70 6c | 79 20 72 65 73 65 74 74 |by simpl|y resett|
|000042f0| 69 6e 67 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |ing the |current |
|00004300| 70 6f 72 74 20 75 73 69 | 6e 67 20 74 68 65 20 74 |port usi|ng the t|
|00004310| 6f 6f 6c 62 6f 78 20 63 | 61 6c 6c 20 53 45 54 50 |oolbox c|all SETP|
|00004320| 4f 52 54 20 62 65 66 6f | 72 65 20 77 72 69 74 69 |ORT befo|re writi|
|00004330| 6e 67 20 74 6f 20 75 6e | 69 74 20 39 2e 20 20 4e |ng to un|it 9. N|
|00004340| 6f 74 65 20 74 68 61 74 | 20 74 68 65 20 74 65 78 |ote that| the tex|
|00004350| 74 20 77 72 69 74 74 65 | 6e 20 69 6e 20 74 68 69 |t writte|n in thi|
|00004360| 73 20 6d 61 6e 6e 65 72 | 20 75 73 69 6e 67 20 75 |s manner| using u|
|00004370| 6e 69 74 20 39 20 77 69 | 6c 6c 20 6e 6f 74 20 62 |nit 9 wi|ll not b|
|00004380| 65 20 65 64 69 74 61 62 | 6c 65 2c 20 65 76 65 6e |e editab|le, even|
|00004390| 20 69 66 20 77 72 69 74 | 74 65 6e 20 74 6f 20 61 | if writ|ten to a|
|000043a0| 6e 20 65 64 69 74 6f 72 | 20 77 69 6e 64 6f 77 20 |n editor| window |
|000043b0| 28 61 20 62 61 64 20 69 | 64 65 61 29 2e 20 20 54 |(a bad i|dea). T|
|000043c0| 68 65 20 74 65 78 74 20 | 69 73 20 73 69 6d 70 6c |he text |is simpl|
|000043d0| 79 20 62 65 69 6e 67 20 | 64 72 61 77 6e 20 6f 6e |y being |drawn on|
|000043e0| 20 74 68 65 20 73 63 72 | 65 65 6e 2c 20 77 69 74 | the scr|een, wit|
|000043f0| 68 20 6e 6f 20 63 6f 6e | 6e 65 63 74 69 6f 6e 20 |h no con|nection |
|00004400| 74 6f 20 74 68 65 20 74 | 65 78 74 2d 65 64 69 74 |to the t|ext-edit|
|00004410| 69 6e 67 20 6d 6f 64 75 | 6c 65 2e 0d 0d 55 73 69 |ing modu|le...Usi|
|00004420| 6e 67 20 74 68 65 20 4d | 61 63 46 6f 72 74 72 61 |ng the M|acFortra|
|00004430| 6e 20 32 2e 34 20 44 65 | 62 75 67 67 65 72 20 77 |n 2.4 De|bugger w|
|00004440| 69 74 68 20 46 61 63 65 | 49 74 20 20 20 41 66 74 |ith Face|It Aft|
|00004450| 65 72 20 73 74 61 72 74 | 69 6e 67 20 61 6e 20 61 |er start|ing an a|
|00004460| 70 70 6c 69 63 61 74 69 | 6f 6e 20 76 69 61 20 74 |pplicati|on via t|
|00004470| 68 65 20 44 65 62 75 67 | 67 65 72 2c 20 73 65 74 |he Debug|ger, set|
|00004480| 20 62 72 65 61 6b 70 6f | 69 6e 74 73 20 77 69 74 | breakpo|ints wit|
|00004490| 68 69 6e 20 79 6f 75 72 | 20 73 6f 75 72 63 65 20 |hin your| source |
|000044a0| 77 68 65 72 65 20 79 6f | 75 20 77 69 73 68 20 74 |where yo|u wish t|
|000044b0| 6f 20 65 78 61 6d 69 6e | 65 20 74 68 65 20 6f 70 |o examin|e the op|
|000044c0| 65 72 61 74 69 6f 6e 20 | 6f 66 20 79 6f 75 72 20 |eration |of your |
|000044d0| 63 6f 64 65 2e 20 20 54 | 68 65 6e 20 63 68 6f 6f |code. T|hen choo|
|000044e0| 73 65 20 22 50 72 6f 63 | 65 65 64 20 74 6f 20 42 |se "Proc|eed to B|
|000044f0| 72 65 61 6b 70 6f 69 6e | 74 22 20 74 6f 20 72 75 |reakpoin|t" to ru|
|00004500| 6e 20 79 6f 75 72 20 70 | 72 6f 67 72 61 6d 20 74 |n your p|rogram t|
|00004510| 6f 20 74 68 65 20 66 69 | 72 73 74 20 62 72 65 61 |o the fi|rst brea|
|00004520| 6b 70 6f 69 6e 74 2e 20 | 20 54 68 69 73 20 6d 61 |kpoint. | This ma|
|00004530| 79 2c 20 6f 66 20 63 6f | 75 72 73 65 2c 20 61 6c |y, of co|urse, al|
|00004540| 73 6f 20 72 65 71 75 69 | 72 65 20 63 68 6f 6f 73 |so requi|re choos|
|00004550| 69 6e 67 20 61 6e 20 69 | 74 65 6d 20 66 72 6f 6d |ing an i|tem from|
|00004560| 20 6f 6e 65 20 6f 66 20 | 79 6f 75 72 20 6d 65 6e | one of |your men|
|00004570| 75 73 20 69 66 20 74 68 | 65 20 63 6f 64 65 20 69 |us if th|e code i|
|00004580| 6e 20 71 75 65 73 74 69 | 6f 6e 20 69 73 20 6f 6e |n questi|on is on|
|00004590| 6c 79 20 65 78 65 63 75 | 74 65 64 20 69 6e 20 72 |ly execu|ted in r|
|000045a0| 65 73 70 6f 6e 73 65 20 | 74 6f 20 61 20 6d 65 6e |esponse |to a men|
|000045b0| 75 20 63 6f 6d 6d 61 6e | 64 2e 20 20 57 68 65 6e |u comman|d. When|
|000045c0| 20 61 20 62 72 65 61 6b | 70 6f 69 6e 74 20 69 73 | a break|point is|
|000045d0| 20 65 6e 63 6f 75 6e 74 | 65 72 65 64 2c 20 74 68 | encount|ered, th|
|000045e0| 65 20 4d 61 63 20 77 69 | 6c 6c 20 62 65 65 70 20 |e Mac wi|ll beep |
|000045f0| 61 6e 64 20 74 68 65 20 | 44 65 62 75 67 67 65 72 |and the |Debugger|
|00004600| 20 73 6f 75 72 63 65 20 | 77 69 6e 64 6f 77 20 77 | source |window w|
|00004610| 69 6c 6c 20 62 65 20 62 | 72 6f 75 67 68 74 20 74 |ill be b|rought t|
|00004620| 6f 20 74 68 65 20 66 72 | 6f 6e 74 2e 20 20 49 66 |o the fr|ont. If|
|00004630| 20 74 68 65 72 65 20 69 | 73 20 6f 6e 6c 79 20 6f | there i|s only o|
|00004640| 6e 65 20 62 72 65 61 6b | 70 6f 69 6e 74 20 73 65 |ne break|point se|
|00004650| 74 20 69 6e 20 79 6f 75 | 72 20 63 6f 64 65 2c 20 |t in you|r code, |
|00004660| 64 6f 20 6e 6f 74 20 63 | 68 6f 6f 73 65 20 22 50 |do not c|hoose "P|
|00004670| 72 6f 63 65 65 64 20 74 | 6f 20 42 72 65 61 6b 70 |roceed t|o Breakp|
|00004680| 6f 69 6e 74 22 20 61 67 | 61 69 6e 20 77 69 74 68 |oint" ag|ain with|
|00004690| 6f 75 74 20 64 6f 69 6e | 67 20 61 74 20 6c 65 61 |out doin|g at lea|
|000046a0| 73 74 20 6f 6e 65 20 22 | 53 69 6e 67 6c 65 20 53 |st one "|Single S|
|000046b0| 74 65 70 22 2e 20 20 54 | 68 65 20 44 65 62 75 67 |tep". T|he Debug|
|000046c0| 67 65 72 20 6c 6f 73 65 | 73 20 74 72 61 63 6b 20 |ger lose|s track |
|000046d0| 6f 66 20 61 20 62 72 65 | 61 6b 70 6f 69 6e 74 20 |of a bre|akpoint |
|000046e0| 69 66 20 61 73 6b 65 64 | 20 74 6f 20 70 72 6f 63 |if asked| to proc|
|000046f0| 65 65 64 20 69 6e 20 61 | 20 6c 6f 6f 70 20 66 72 |eed in a| loop fr|
|00004700| 6f 6d 20 61 20 62 72 65 | 61 6b 70 6f 69 6e 74 20 |om a bre|akpoint |
|00004710| 62 61 63 6b 20 74 6f 20 | 74 68 65 20 73 61 6d 65 |back to |the same|
|00004720| 20 62 72 65 61 6b 70 6f | 69 6e 74 2e 0d 09 57 68 | breakpo|int...Wh|
|00004730| 69 6c 65 20 69 6e 20 74 | 68 65 20 44 65 62 75 67 |ile in t|he Debug|
|00004740| 67 65 72 2c 20 74 68 65 | 20 44 65 62 75 67 67 65 |ger, the| Debugge|
|00004750| 72 27 73 20 6b 65 79 62 | 6f 61 72 64 20 73 68 6f |r's keyb|oard sho|
|00004760| 72 74 63 75 74 73 20 6d | 61 79 20 63 6f 6e 66 6c |rtcuts m|ay confl|
|00004770| 69 63 74 20 77 69 74 68 | 20 6b 65 79 62 6f 61 72 |ict with| keyboar|
|00004780| 64 20 63 6f 6d 6d 61 6e | 64 73 20 77 68 69 63 68 |d comman|ds which|
|00004790| 20 61 70 70 65 61 72 20 | 69 6e 20 74 68 65 20 46 | appear |in the F|
|000047a0| 61 63 65 49 74 20 6d 65 | 6e 75 73 20 6f 72 20 79 |aceIt me|nus or y|
|000047b0| 6f 75 72 20 70 72 6f 67 | 72 61 6d 20 6d 65 6e 75 |our prog|ram menu|
|000047c0| 73 2c 20 69 6e 20 77 68 | 69 63 68 20 63 61 73 65 |s, in wh|ich case|
|000047d0| 20 79 6f 75 20 6d 61 79 | 20 73 69 6d 70 6c 79 20 | you may| simply |
|000047e0| 68 61 76 65 20 74 6f 20 | 75 73 65 20 74 68 65 20 |have to |use the |
|000047f0| 6d 6f 75 73 65 20 74 6f | 20 63 68 6f 6f 73 65 20 |mouse to| choose |
|00004800| 74 68 65 20 61 66 66 65 | 63 74 65 64 20 6d 65 6e |the affe|cted men|
|00004810| 75 20 69 74 65 6d 2e 20 | 20 20 46 69 6e 61 6c 6c |u item. | Finall|
|00004820| 79 2c 20 74 68 65 20 44 | 65 62 75 67 67 65 72 20 |y, the D|ebugger |
|00004830| 69 74 73 65 6c 66 20 72 | 65 71 75 69 72 65 73 20 |itself r|equires |
|00004840| 61 64 64 69 74 69 6f 6e | 61 6c 20 73 74 61 63 6b |addition|al stack|
|00004850| 20 73 70 61 63 65 2c 20 | 6d 65 61 6e 69 6e 67 20 | space, |meaning |
|00004860| 74 68 61 74 20 79 6f 75 | 20 6d 61 79 20 6e 65 65 |that you| may nee|
|00004870| 64 20 74 6f 20 69 6e 63 | 72 65 61 73 65 20 74 68 |d to inc|rease th|
|00004880| 65 20 73 74 61 63 6b 20 | 73 70 61 63 65 20 66 6f |e stack |space fo|
|00004890| 72 20 79 6f 75 72 20 70 | 72 6f 67 72 61 6d 20 74 |r your p|rogram t|
|000048a0| 6f 20 67 65 74 20 69 74 | 20 74 6f 20 72 75 6e 20 |o get it| to run |
|000048b0| 70 72 6f 70 65 72 6c 79 | 20 75 6e 64 65 72 20 74 |properly| under t|
|000048c0| 68 65 20 44 65 62 75 67 | 67 65 72 2e 0d 0d 4f 74 |he Debug|ger...Ot|
|000048d0| 68 65 72 20 50 72 6f 67 | 72 61 6d 6d 69 6e 67 20 |her Prog|ramming |
|000048e0| 54 69 70 73 0d 0d 2d 20 | 57 68 65 6e 20 70 72 61 |Tips..- |When pra|
|000048f0| 63 74 69 63 61 6c 2c 20 | 75 73 65 20 22 69 6d 70 |ctical, |use "imp|
|00004900| 6c 69 63 69 74 20 6e 6f | 6e 65 22 2e 0d 0d 2d 20 |licit no|ne"...- |
|00004910| 42 6f 74 68 20 73 6f 75 | 72 63 65 20 61 6e 64 20 |Both sou|rce and |
|00004920| 64 61 74 61 20 66 69 6c | 65 73 20 73 68 6f 75 6c |data fil|es shoul|
|00004930| 64 20 65 6e 64 20 77 69 | 74 68 20 61 20 63 61 72 |d end wi|th a car|
|00004940| 72 69 61 67 65 20 72 65 | 74 75 72 6e 2e 0d 0d 2d |riage re|turn...-|
|00004950| 20 41 20 63 6f 6d 6d 6f | 6e 20 6d 69 73 74 61 6b | A commo|n mistak|
|00004960| 65 20 77 68 65 6e 20 6d | 61 6b 69 6e 67 20 22 74 |e when m|aking "t|
|00004970| 6f 6f 6c 62 78 22 20 63 | 61 6c 6c 73 20 69 73 20 |oolbx" c|alls is |
|00004980| 74 6f 20 66 6f 72 67 65 | 74 20 74 6f 20 64 65 66 |to forge|t to def|
|00004990| 69 6e 65 20 74 68 65 20 | 76 61 6c 75 65 20 6f 66 |ine the |value of|
|000049a0| 20 74 68 65 20 69 6e 74 | 65 67 65 72 20 63 6f 6e | the int|eger con|
|000049b0| 73 74 61 6e 74 20 75 73 | 65 64 20 61 73 20 74 68 |stant us|ed as th|
|000049c0| 65 20 74 6f 6f 6c 62 6f | 78 20 70 72 6f 63 65 64 |e toolbo|x proced|
|000049d0| 75 72 65 20 6e 61 6d 65 | 2e 20 20 41 6e 6f 74 68 |ure name|. Anoth|
|000049e0| 65 72 20 6d 69 73 74 61 | 6b 65 20 69 73 20 74 6f |er mista|ke is to|
|000049f0| 20 66 6f 72 67 65 74 20 | 74 6f 20 64 65 63 6c 61 | forget |to decla|
|00004a00| 72 65 20 22 74 6f 6f 6c | 62 78 22 20 61 73 20 69 |re "tool|bx" as i|
|00004a10| 6e 74 65 67 65 72 2a 34 | 20 77 68 65 6e 20 22 74 |nteger*4| when "t|
|00004a20| 6f 6f 6c 62 78 22 20 69 | 73 20 62 65 69 6e 67 20 |oolbx" i|s being |
|00004a30| 75 73 65 64 20 61 73 20 | 61 20 66 75 6e 63 74 69 |used as |a functi|
|00004a40| 6f 6e 2e 0d 0d 2d 20 57 | 68 65 6e 20 46 61 63 65 |on...- W|hen Face|
|00004a50| 49 74 20 69 73 20 66 69 | 72 73 74 20 63 61 6c 6c |It is fi|rst call|
|00004a60| 65 64 2c 20 79 6f 75 20 | 68 61 76 65 20 74 68 65 |ed, you |have the|
|00004a70| 20 6f 70 74 69 6f 6e 20 | 6f 66 20 68 61 76 69 6e | option |of havin|
|00004a80| 67 20 69 74 20 64 69 73 | 70 6c 61 79 20 61 20 22 |g it dis|play a "|
|00004a90| 64 65 63 6b 20 6f 66 20 | 63 61 72 64 73 22 20 63 |deck of |cards" c|
|00004aa0| 75 72 73 6f 72 20 77 68 | 65 6e 65 76 65 72 20 79 |ursor wh|enever y|
|00004ab0| 6f 75 72 20 70 72 6f 67 | 72 61 6d 20 68 61 73 20 |our prog|ram has |
|00004ac0| 63 6f 6e 74 72 6f 6c 2e | 20 20 54 68 69 73 20 69 |control.| This i|
|00004ad0| 73 20 76 65 72 79 20 75 | 73 65 66 75 6c 20 77 68 |s very u|seful wh|
|00004ae0| 65 6e 2c 20 66 6f 72 20 | 65 78 61 6d 70 6c 65 2c |en, for |example,|
|00004af0| 20 61 20 46 6f 72 74 72 | 61 6e 20 65 72 72 6f 72 | a Fortr|an error|
|00004b00| 20 6f 63 63 75 72 73 20 | 77 69 74 68 69 6e 20 79 | occurs |within y|
|00004b10| 6f 75 72 20 70 72 6f 67 | 72 61 6d 20 73 69 6e 63 |our prog|ram sinc|
|00004b20| 65 20 79 6f 75 20 69 6d | 6d 65 64 69 61 74 65 6c |e you im|mediatel|
|00004b30| 79 20 6b 6e 6f 77 2c 20 | 62 79 20 74 68 65 20 66 |y know, |by the f|
|00004b40| 6f 72 6d 20 6f 66 20 74 | 68 65 20 63 75 72 73 6f |orm of t|he curso|
|00004b50| 72 2c 20 74 68 61 74 20 | 74 68 65 20 65 72 72 6f |r, that |the erro|
|00004b60| 72 20 69 73 20 73 6f 6d | 65 77 68 65 72 65 20 69 |r is som|ewhere i|
|00004b70| 6e 20 79 6f 75 72 20 63 | 6f 64 65 20 61 6e 64 20 |n your c|ode and |
|00004b80| 6e 6f 74 20 77 69 74 68 | 69 6e 20 46 61 63 65 49 |not with|in FaceI|
|00004b90| 74 2e 20 20 57 68 65 6e | 20 73 75 63 68 20 61 20 |t. When| such a |
|00004ba0| 46 6f 72 74 72 61 6e 20 | 65 72 72 6f 72 20 6f 63 |Fortran |error oc|
|00004bb0| 63 75 72 73 2c 20 70 72 | 65 73 73 69 6e 67 20 74 |curs, pr|essing t|
|00004bc0| 68 65 20 72 65 74 75 72 | 6e 20 6b 65 79 20 77 69 |he retur|n key wi|
|00004bd0| 6c 6c 20 75 73 75 61 6c | 6c 79 20 74 61 6b 65 20 |ll usual|ly take |
|00004be0| 79 6f 75 20 62 61 63 6b | 20 74 6f 20 74 68 65 20 |you back| to the |
|00004bf0| 46 69 6e 64 65 72 2e 0d | 0d 2d 20 49 66 20 75 73 |Finder..|.- If us|
|00004c00| 69 6e 67 20 53 65 6c 65 | 63 74 20 43 61 73 65 2c |ing Sele|ct Case,|
|00004c10| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 62 65 20 61 | you sho|uld be a|
|00004c20| 77 61 72 65 20 6f 66 20 | 74 68 65 20 66 61 63 74 |ware of |the fact|
|00004c30| 20 74 68 61 74 20 74 68 | 65 20 63 75 72 72 65 6e | that th|e curren|
|00004c40| 74 20 76 65 72 73 69 6f | 6e 20 6f 66 20 4d 61 63 |t versio|n of Mac|
|00004c50| 46 6f 72 74 72 61 6e 20 | 6c 69 6d 69 74 73 20 79 |Fortran |limits y|
|00004c60| 6f 75 20 74 6f 20 33 32 | 4b 20 6f 66 20 63 6f 64 |ou to 32|K of cod|
|00004c70| 65 20 70 65 72 20 53 65 | 6c 65 63 74 20 43 61 73 |e per Se|lect Cas|
|00004c80| 65 20 62 6c 6f 63 6b 2e | 0d 0d 2d 20 54 68 65 20 |e block.|..- The |
|00004c90| 63 6f 6d 70 69 6c 65 72 | 20 77 69 6c 6c 20 6e 6f |compiler| will no|
|00004ca0| 74 20 63 61 74 63 68 20 | 61 20 6d 69 73 74 61 6b |t catch |a mistak|
|00004cb0| 65 6e 20 6e 75 6d 62 65 | 72 20 6f 66 20 61 72 67 |en numbe|r of arg|
|00004cc0| 75 6d 65 6e 74 73 20 70 | 61 73 73 65 64 20 74 6f |uments p|assed to|
|00004cd0| 20 61 20 73 75 62 72 6f | 75 74 69 6e 65 2e 20 20 | a subro|utine. |
|00004ce0| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 22 63 61 |For exam|ple, "ca|
|00004cf0| 6c 6c 20 46 61 63 65 49 | 74 28 30 2c 44 6f 49 6e |ll FaceI|t(0,DoIn|
|00004d00| 69 74 2c 30 2c 30 2c 30 | 29 22 20 5b 35 20 61 72 |it,0,0,0|)" [5 ar|
|00004d10| 67 75 6d 65 6e 74 73 20 | 72 61 74 68 65 72 20 74 |guments |rather t|
|00004d20| 68 61 6e 20 36 5d 20 77 | 6f 75 6c 64 20 67 65 74 |han 6] w|ould get|
|00004d30| 20 62 79 20 74 68 65 20 | 63 6f 6d 70 69 6c 65 72 | by the |compiler|
|00004d40| 2c 20 62 75 74 20 77 69 | 6c 6c 20 6c 65 61 64 20 |, but wi|ll lead |
|00004d50| 74 6f 20 75 6e 70 72 65 | 64 69 63 74 61 62 6c 65 |to unpre|dictable|
|00004d60| 20 62 65 68 61 76 69 6f | 72 20 6f 66 20 79 6f 75 | behavio|r of you|
|00004d70| 72 20 70 72 6f 67 72 61 | 6d 20 28 70 72 6f 62 61 |r progra|m (proba|
|00004d80| 62 6c 79 20 61 20 63 72 | 61 73 68 29 2e 20 20 53 |bly a cr|ash). S|
|00004d90| 6f 20 63 6f 75 6e 74 20 | 74 68 6f 73 65 20 61 72 |o count |those ar|
|00004da0| 67 75 6d 65 6e 74 73 21 | 0d 0d 2d 20 49 66 20 79 |guments!|..- If y|
|00004db0| 6f 75 72 20 70 72 6f 67 | 72 61 6d 20 77 6f 72 6b |our prog|ram work|
|00004dc0| 73 20 75 6e 64 65 72 20 | 73 6f 6d 65 20 73 74 61 |s under |some sta|
|00004dd0| 72 74 75 70 20 63 6f 6e | 64 69 74 69 6f 6e 73 2c |rtup con|ditions,|
|00004de0| 20 6f 72 20 6f 6e 20 73 | 6f 6d 65 20 4d 61 63 73 | or on s|ome Macs|
|00004df0| 2c 20 62 75 74 20 6e 6f | 74 20 6f 74 68 65 72 73 |, but no|t others|
|00004e00| 2c 20 74 68 65 6e 20 6c | 6f 6f 6b 20 66 69 72 73 |, then l|ook firs|
|00004e10| 74 20 66 6f 72 20 61 6e | 20 75 6e 69 6e 69 74 69 |t for an| uniniti|
|00004e20| 61 6c 69 7a 65 64 20 76 | 61 72 69 61 62 6c 65 2e |alized v|ariable.|
|00004e30| 20 20 56 61 72 69 61 62 | 6c 65 73 20 61 72 65 20 | Variab|les are |
|00004e40| 6e 6f 74 20 7a 65 72 6f | 65 64 20 61 74 20 6c 61 |not zero|ed at la|
|00004e50| 75 6e 63 68 20 74 69 6d | 65 2c 20 61 6e 64 20 77 |unch tim|e, and w|
|00004e60| 69 6c 6c 20 61 63 71 75 | 69 72 65 20 74 68 65 20 |ill acqu|ire the |
|00004e70| 76 61 6c 75 65 20 6f 66 | 20 77 68 61 74 65 76 65 |value of| whateve|
|00004e80| 72 20 67 61 72 62 61 67 | 65 20 69 73 20 73 69 74 |r garbag|e is sit|
|00004e90| 74 69 6e 67 20 69 6e 20 | 6d 65 6d 6f 72 79 20 75 |ting in |memory u|
|00004ea0| 6e 6c 65 73 73 20 79 6f | 75 20 74 61 6b 65 20 74 |nless yo|u take t|
|00004eb0| 68 65 20 74 72 6f 75 62 | 6c 65 20 74 6f 20 69 6e |he troub|le to in|
|00004ec0| 69 74 69 61 6c 69 7a 65 | 20 74 68 65 6d 2e 0d 0d |itialize| them...|
|00004ed0| 2d 20 4d 61 63 46 6f 72 | 74 72 61 6e 20 64 6f 65 |- MacFor|tran doe|
|00004ee0| 73 20 6e 6f 74 20 67 75 | 61 72 61 6e 74 65 65 20 |s not gu|arantee |
|00004ef0| 74 68 61 74 20 73 74 72 | 69 6e 67 73 20 64 65 63 |that str|ings dec|
|00004f00| 6c 61 72 65 64 20 69 6e | 20 73 75 62 72 6f 75 74 |lared in| subrout|
|00004f10| 69 6e 65 73 20 77 69 6c | 6c 20 62 65 20 77 6f 72 |ines wil|l be wor|
|00004f20| 64 2d 61 6c 69 67 6e 65 | 64 20 6f 6e 20 74 68 65 |d-aligne|d on the|
|00004f30| 20 73 74 61 63 6b 20 28 | 72 65 71 75 69 72 65 64 | stack (|required|
|00004f40| 20 62 79 20 74 6f 6f 6c | 62 6f 78 20 63 61 6c 6c | by tool|box call|
|00004f50| 73 20 77 68 69 63 68 20 | 61 63 63 65 70 74 20 73 |s which |accept s|
|00004f60| 74 72 69 6e 67 73 20 61 | 73 20 61 72 67 75 6d 65 |trings a|s argume|
|00004f70| 6e 74 73 29 2e 20 20 49 | 66 20 79 6f 75 20 75 73 |nts). I|f you us|
|00004f80| 65 20 73 75 63 68 20 73 | 74 72 69 6e 67 73 20 69 |e such s|trings i|
|00004f90| 6e 20 74 6f 6f 6c 62 6f | 78 20 63 61 6c 6c 73 2c |n toolbo|x calls,|
|00004fa0| 20 79 6f 75 27 6c 6c 20 | 67 65 74 20 73 74 72 61 | you'll |get stra|
|00004fb0| 6e 67 65 20 62 65 68 61 | 76 69 6f 72 20 6c 69 6b |nge beha|vior lik|
|00004fc0| 65 20 74 68 61 74 20 73 | 65 65 6e 20 77 69 74 68 |e that s|een with|
|00004fd0| 20 75 6e 69 6e 69 74 69 | 61 6c 69 7a 65 64 20 76 | uniniti|alized v|
|00004fe0| 61 72 69 61 62 6c 65 73 | 2e 20 20 54 68 65 20 77 |ariables|. The w|
|00004ff0| 6f 72 6b 61 72 6f 75 6e | 64 20 69 73 20 74 6f 20 |orkaroun|d is to |
|00005000| 61 6c 77 61 79 73 20 75 | 73 65 20 67 6c 6f 62 61 |always u|se globa|
|00005010| 6c 20 73 74 72 69 6e 67 | 20 76 61 72 69 61 62 6c |l string| variabl|
|00005020| 65 73 20 61 73 20 70 61 | 72 61 6d 65 74 65 72 73 |es as pa|rameters|
|00005030| 20 69 6e 20 74 6f 6f 6c | 62 6f 78 20 63 61 6c 6c | in tool|box call|
|00005040| 73 20 28 73 74 72 69 6e | 67 73 20 64 65 63 6c 61 |s (strin|gs decla|
|00005050| 72 65 64 20 69 6e 20 79 | 6f 75 72 20 6d 61 69 6e |red in y|our main|
|00005060| 20 70 72 6f 67 72 61 6d | 20 75 6e 69 74 29 2e 20 | program| unit). |
|00005070| 54 68 65 20 22 75 53 74 | 72 69 6e 67 22 20 61 6e |The "uSt|ring" an|
|00005080| 64 20 22 75 4e 61 6d 65 | 22 20 76 61 72 69 61 62 |d "uName|" variab|
|00005090| 6c 65 73 2c 20 66 6f 72 | 20 65 78 61 6d 70 6c 65 |les, for| example|
|000050a0| 2c 20 61 72 65 20 67 6c | 6f 62 61 6c 2c 20 61 6e |, are gl|obal, an|
|000050b0| 64 20 63 61 6e 20 62 65 | 20 75 73 65 64 20 62 79 |d can be| used by|
|000050c0| 20 79 6f 75 72 20 70 72 | 6f 67 72 61 6d 20 66 6f | your pr|ogram fo|
|000050d0| 72 20 69 74 73 20 6f 77 | 6e 20 70 75 72 70 6f 73 |r its ow|n purpos|
|000050e0| 65 73 2c 20 6f 6e 65 20 | 6f 66 20 77 68 69 63 68 |es, one |of which|
|000050f0| 20 6d 61 79 20 62 65 20 | 74 6f 20 65 6e 73 75 72 | may be |to ensur|
|00005100| 65 20 74 68 61 74 20 73 | 74 72 69 6e 67 73 20 69 |e that s|trings i|
|00005110| 6e 20 74 6f 6f 6c 62 6f | 78 20 63 61 6c 6c 73 20 |n toolbo|x calls |
|00005120| 61 72 65 20 77 6f 72 64 | 2d 61 6c 69 67 6e 65 64 |are word|-aligned|
|00005130| 2e 20 20 54 68 65 20 6d | 6f 73 74 20 6c 69 6b 65 |. The m|ost like|
|00005140| 6c 79 20 70 6c 61 63 65 | 20 74 68 61 74 20 79 6f |ly place| that yo|
|00005150| 75 27 6c 6c 20 62 65 20 | 75 73 69 6e 67 20 73 75 |u'll be |using su|
|00005160| 63 68 20 74 6f 6f 6c 62 | 6f 78 20 63 61 6c 6c 73 |ch toolb|ox calls|
|00005170| 20 69 73 20 69 6e 20 70 | 6c 6f 74 74 69 6e 67 20 | is in p|lotting |
|00005180| 72 6f 75 74 69 6e 65 73 | 20 74 68 61 74 20 6d 61 |routines| that ma|
|00005190| 6b 65 20 63 61 6c 6c 73 | 20 74 6f 20 22 53 54 52 |ke calls| to "STR|
|000051a0| 49 4e 47 57 49 44 54 48 | 22 20 61 6e 64 20 22 44 |INGWIDTH|" and "D|
|000051b0| 52 41 57 53 54 52 49 4e | 47 22 2e 0d 0d 2d 20 54 |RAWSTRIN|G"...- T|
|000051c0| 68 65 20 74 6f 6f 6c 62 | 6f 78 20 63 61 6c 6c 20 |he toolb|ox call |
|000051d0| 22 46 4c 55 53 48 45 56 | 45 4e 54 53 22 20 69 73 |"FLUSHEV|ENTS" is|
|000051e0| 20 69 6e 63 6f 72 72 65 | 63 74 6c 79 20 64 6f 63 | incorre|ctly doc|
|000051f0| 75 6d 65 6e 74 65 64 20 | 69 6e 20 74 68 65 20 4d |umented |in the M|
|00005200| 61 63 46 6f 72 74 72 61 | 6e 20 69 6e 63 6c 75 64 |acFortra|n includ|
|00005210| 65 20 66 69 6c 65 73 2e | 20 20 46 6f 72 20 61 6e |e files.| For an|
|00005220| 20 65 78 61 6d 70 6c 65 | 20 6f 66 20 69 74 73 20 | example| of its |
|00005230| 70 72 6f 70 65 72 20 75 | 73 65 2c 20 73 65 65 20 |proper u|se, see |
|00005240| 74 68 65 20 69 6e 63 6c | 75 64 65 20 66 69 6c 65 |the incl|ude file|
|00005250| 20 22 46 61 63 65 50 72 | 6f 63 4d 46 2e 69 6e 63 | "FacePr|ocMF.inc|
|00005260| 22 2e 0d 0d 2d 20 49 66 | 20 75 73 69 6e 67 20 45 |"...- If| using E|
|00005270| 64 69 74 20 74 6f 20 65 | 64 69 74 20 79 6f 75 72 |dit to e|dit your|
|00005280| 20 70 72 6f 67 72 61 6d | 73 2c 20 79 6f 75 20 63 | program|s, you c|
|00005290| 61 6e 20 6d 69 73 74 61 | 6b 65 6e 6c 79 20 74 79 |an mista|kenly ty|
|000052a0| 70 65 20 74 68 65 20 22 | 45 6e 74 65 72 22 20 6b |pe the "|Enter" k|
|000052b0| 65 79 20 77 68 69 63 68 | 20 69 6e 73 65 72 74 73 |ey which| inserts|
|000052c0| 20 61 6e 20 69 6e 76 69 | 73 69 62 6c 65 20 63 68 | an invi|sible ch|
|000052d0| 61 72 61 63 74 65 72 20 | 74 68 61 74 20 77 69 6c |aracter |that wil|
|000052e0| 6c 20 6c 61 74 65 72 20 | 63 61 75 73 65 20 70 72 |l later |cause pr|
|000052f0| 6f 62 6c 65 6d 73 20 77 | 69 74 68 20 74 68 65 20 |oblems w|ith the |
|00005300| 4d 61 63 46 6f 72 74 72 | 61 6e 20 63 6f 6d 70 69 |MacFortr|an compi|
|00005310| 6c 65 72 2e 20 20 55 73 | 65 20 45 64 69 74 27 73 |ler. Us|e Edit's|
|00005320| 20 22 53 68 6f 77 20 49 | 6e 76 69 73 69 62 6c 65 | "Show I|nvisible|
|00005330| 73 22 20 6f 70 74 69 6f | 6e 20 74 6f 20 66 69 6e |s" optio|n to fin|
|00005340| 64 20 61 6e 64 20 65 6c | 69 6d 69 6e 61 74 65 20 |d and el|iminate |
|00005350| 73 75 63 68 20 63 68 61 | 72 61 63 74 65 72 73 2e |such cha|racters.|
|00005360| 0d 0d 2d 20 4d 61 63 46 | 6f 72 74 72 61 6e 20 64 |..- MacF|ortran d|
|00005370| 6f 65 73 20 6e 6f 74 20 | 61 6c 6c 6f 77 20 79 6f |oes not |allow yo|
|00005380| 75 20 74 6f 20 70 61 73 | 73 20 69 6e 74 65 67 65 |u to pas|s intege|
|00005390| 72 20 63 6f 6e 73 74 61 | 6e 74 73 20 74 6f 20 69 |r consta|nts to i|
|000053a0| 6e 74 65 67 65 72 2a 32 | 20 73 75 62 72 6f 75 74 |nteger*2| subrout|
|000053b0| 69 6e 65 20 61 72 67 75 | 6d 65 6e 74 73 2c 20 73 |ine argu|ments, s|
|000053c0| 6f 20 75 73 65 20 69 6e | 74 65 67 65 72 2a 34 20 |o use in|teger*4 |
|000053d0| 77 68 65 6e 20 70 61 73 | 73 69 6e 67 20 63 6f 6e |when pas|sing con|
|000053e0| 73 74 61 6e 74 73 2e 0d | 0d 2d 20 57 68 65 6e 20 |stants..|.- When |
|000053f0| 70 61 73 73 69 6e 67 20 | 76 61 72 69 61 62 6c 65 |passing |variable|
|00005400| 73 20 74 6f 20 73 75 62 | 72 6f 75 74 69 6e 65 73 |s to sub|routines|
|00005410| 2c 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 73 20 |, the va|riables |
|00005420| 4d 55 53 54 20 62 65 20 | 72 65 64 65 63 6c 61 72 |MUST be |redeclar|
|00005430| 65 64 20 77 69 74 68 69 | 6e 20 74 68 65 20 73 75 |ed withi|n the su|
|00005440| 62 72 6f 75 74 69 6e 65 | 73 20 6f 72 20 74 68 65 |broutine|s or the|
|00005450| 79 20 77 69 6c 6c 20 62 | 65 20 67 69 76 65 6e 20 |y will b|e given |
|00005460| 75 6e 64 65 66 69 6e 65 | 64 20 76 61 6c 75 65 73 |undefine|d values|
|00005470| 2e 20 20 54 68 69 73 20 | 65 72 72 6f 72 20 69 73 |. This |error is|
|00005480| 20 4e 4f 54 20 63 61 75 | 67 68 74 20 62 79 20 74 | NOT cau|ght by t|
|00005490| 68 65 20 63 6f 6d 70 69 | 6c 65 72 2c 20 65 76 65 |he compi|ler, eve|
|000054a0| 6e 20 69 66 20 79 6f 75 | 20 68 61 76 65 20 74 61 |n if you| have ta|
|000054b0| 6b 65 6e 20 74 68 65 20 | 74 72 6f 75 62 6c 65 20 |ken the |trouble |
|000054c0| 74 6f 20 75 73 65 20 22 | 69 6d 70 6c 69 63 69 74 |to use "|implicit|
|000054d0| 20 6e 6f 6e 65 22 20 69 | 6e 20 74 68 65 20 73 75 | none" i|n the su|
|000054e0| 62 72 6f 75 74 69 6e 65 | 2e 0d 0d 2d 20 57 68 65 |broutine|...- Whe|
|000054f0| 6e 20 63 61 6c 6c 69 6e | 67 20 75 6e 6c 69 6e 6b |n callin|g unlink|
|00005500| 65 64 2c 20 73 74 61 6e | 64 2d 61 6c 6f 6e 65 20 |ed, stan|d-alone |
|00005510| 73 75 62 72 6f 75 74 69 | 6e 65 73 20 79 6f 75 20 |subrouti|nes you |
|00005520| 6d 61 79 20 66 69 6e 64 | 20 74 68 61 74 20 4d 61 |may find| that Ma|
|00005530| 63 46 6f 72 74 72 61 6e | 20 77 69 6c 6c 20 6c 6f |cFortran| will lo|
|00005540| 73 65 20 74 72 61 63 6b | 20 6f 66 20 74 68 65 20 |se track| of the |
|00005550| 6c 6f 63 61 74 69 6f 6e | 20 6f 66 20 73 75 63 68 |location| of such|
|00005560| 20 72 6f 75 74 69 6e 65 | 73 20 69 66 20 74 68 65 | routine|s if the|
|00005570| 20 75 73 65 72 2c 20 76 | 69 61 20 61 20 46 69 6c | user, v|ia a Fil|
|00005580| 65 20 6d 65 6e 75 20 63 | 6f 6d 6d 61 6e 64 2c 20 |e menu c|ommand, |
|00005590| 68 61 73 20 63 68 61 6e | 67 65 64 20 74 68 65 20 |has chan|ged the |
|000055a0| 64 65 66 61 75 6c 74 20 | 76 6f 6c 75 6d 65 20 62 |default |volume b|
|000055b0| 79 20 6f 70 65 6e 69 6e | 67 20 6f 72 20 73 61 76 |y openin|g or sav|
|000055c0| 69 6e 67 20 66 69 6c 65 | 73 2e 20 20 54 68 65 20 |ing file|s. The |
|000055d0| 73 6f 6c 75 74 69 6f 6e | 20 28 73 68 6f 72 74 20 |solution| (short |
|000055e0| 6f 66 20 6c 69 6e 6b 69 | 6e 67 29 20 69 73 20 66 |of linki|ng) is f|
|000055f0| 6f 72 20 79 6f 75 20 74 | 6f 20 72 65 73 65 74 20 |or you t|o reset |
|00005600| 74 68 65 20 64 65 66 61 | 75 6c 74 20 76 6f 6c 75 |the defa|ult volu|
|00005610| 6d 65 20 62 65 66 6f 72 | 65 20 63 61 6c 6c 69 6e |me befor|e callin|
|00005620| 67 20 73 75 63 68 20 73 | 75 62 72 6f 75 74 69 6e |g such s|ubroutin|
|00005630| 65 73 2e 20 20 28 59 6f | 75 20 63 61 6e 20 61 6c |es. (Yo|u can al|
|00005640| 73 6f 20 74 72 79 20 70 | 75 74 74 69 6e 67 20 74 |so try p|utting t|
|00005650| 68 65 20 73 75 62 72 6f | 75 74 69 6e 65 73 20 69 |he subro|utines i|
|00005660| 6e 20 74 68 65 20 61 63 | 74 69 76 65 20 53 79 73 |n the ac|tive Sys|
|00005670| 74 65 6d 20 46 6f 6c 64 | 65 72 2c 20 62 75 74 20 |tem Fold|er, but |
|00005680| 74 68 69 73 20 69 73 20 | 6e 6f 74 20 66 6f 6f 6c |this is |not fool|
|00005690| 70 72 6f 6f 66 2e 29 20 | 20 59 6f 75 20 63 61 6e |proof.) | You can|
|000056a0| 20 64 6f 20 74 68 69 73 | 20 76 69 61 20 74 68 65 | do this| via the|
|000056b0| 20 55 74 69 6c 49 74 20 | 63 6f 6d 6d 61 6e 64 20 | UtilIt |command |
|000056c0| 22 53 65 74 52 65 66 22 | 2e 0d 0d 2d 20 54 68 65 |"SetRef"|...- The|
|000056d0| 20 6c 69 6e 6b 69 6e 67 | 20 61 6e 64 20 72 65 73 | linking| and res|
|000056e0| 6f 75 72 63 65 20 6d 6f | 76 65 6d 65 6e 74 20 72 |ource mo|vement r|
|000056f0| 65 71 75 69 72 65 64 20 | 74 6f 20 63 72 65 61 74 |equired |to creat|
|00005700| 65 20 61 20 22 73 74 61 | 6e 64 2d 61 6c 6f 6e 65 |e a "sta|nd-alone|
|00005710| 22 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 61 72 |" applic|ation ar|
|00005720| 65 20 6f 75 74 6c 69 6e | 65 64 20 62 65 6c 6f 77 |e outlin|ed below|
|00005730| 2e 20 20 59 6f 75 20 63 | 61 6e 20 64 6f 20 73 6f |. You c|an do so|
|00005740| 6d 65 20 6f 72 20 61 6c | 6c 20 6f 66 20 74 68 65 |me or al|l of the|
|00005750| 20 73 74 65 70 73 20 6f | 75 74 6c 69 6e 65 64 2c | steps o|utlined,|
|00005760| 20 62 75 74 20 74 68 65 | 79 20 6d 75 73 74 20 62 | but the|y must b|
|00005770| 65 20 64 6f 6e 65 20 69 | 6e 20 74 68 69 73 20 6f |e done i|n this o|
|00005780| 72 64 65 72 2e 0d 20 31 | 2e 20 72 65 63 6f 6d 70 |rder.. 1|. recomp|
|00005790| 69 6c 65 20 70 72 6f 67 | 72 61 6d 20 77 2f 6f 20 |ile prog|ram w/o |
|000057a0| 22 6c 6f 61 64 22 20 63 | 6f 6d 6d 61 6e 64 73 20 |"load" c|ommands |
|000057b0| 66 6f 72 20 72 6f 75 74 | 69 6e 65 73 20 74 6f 20 |for rout|ines to |
|000057c0| 62 65 20 6c 69 6e 6b 65 | 64 0d 20 32 2e 20 69 6e |be linke|d. 2. in|
|000057d0| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 6f | the fol|lowing o|
|000057e0| 72 64 65 72 2c 20 6c 69 | 6e 6b 20 73 6f 6d 65 20 |rder, li|nk some |
|000057f0| 6f 72 20 61 6c 6c 20 6f | 66 3a 20 20 70 72 6f 67 |or all o|f: prog|
|00005800| 72 61 6d 2d 73 70 65 63 | 69 66 69 63 20 73 75 62 |ram-spec|ific sub|
|00005810| 72 6f 75 74 69 6e 65 73 | 20 28 69 66 20 61 6e 79 |routines| (if any|
|00005820| 29 2c 20 22 4a 75 6d 70 | 49 74 2e 73 75 62 22 2c |), "Jump|It.sub",|
|00005830| 20 22 74 6f 6f 6c 62 78 | 2e 73 75 62 22 2c 20 61 | "toolbx|.sub", a|
|00005840| 6e 64 20 65 69 74 68 65 | 72 20 22 66 37 37 2e 72 |nd eithe|r "f77.r|
|00005850| 6c 22 20 6f 72 20 22 6d | 38 31 2e 72 6c 22 20 28 |l" or "m|81.rl" (|
|00005860| 75 73 65 20 22 79 22 20 | 6c 69 6e 6b 65 72 20 6f |use "y" |linker o|
|00005870| 70 74 69 6f 6e 20 74 6f | 20 67 65 74 20 74 68 65 |ption to| get the|
|00005880| 20 72 75 6e 74 69 6d 65 | 20 6c 69 62 72 61 72 79 | runtime| library|
|00005890| 20 6c 69 6e 6b 65 64 29 | 0d 20 33 2e 20 75 73 65 | linked)|. 3. use|
|000058a0| 20 4d 6f 76 65 49 74 20 | 74 6f 20 6d 6f 76 65 20 | MoveIt |to move |
|000058b0| 46 61 63 65 57 61 72 65 | 20 72 65 73 6f 75 72 63 |FaceWare| resourc|
|000058c0| 65 73 20 74 6f 20 70 72 | 6f 67 72 61 6d 20 66 69 |es to pr|ogram fi|
|000058d0| 6c 65 0d 20 34 2e 20 75 | 73 65 20 52 65 73 45 64 |le. 4. u|se ResEd|
|000058e0| 69 74 20 74 6f 20 61 64 | 64 20 74 68 65 20 72 65 |it to ad|d the re|
|000058f0| 73 6f 75 72 63 65 73 20 | 66 72 6f 6d 20 79 6f 75 |sources |from you|
|00005900| 72 20 72 65 73 6f 75 72 | 63 65 20 66 69 6c 65 00 |r resour|ce file.|
|00005910| 00 02 32 00 1c 00 00 00 | 00 00 10 00 0c 00 03 03 |..2.....|........|
|00005920| 00 00 0c 00 00 00 00 00 | 00 00 00 00 07 00 0d 00 |........|........|
|00005930| 0a 00 03 03 00 00 0a 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005940| 08 00 0d 00 0a 00 03 04 | 00 00 0a 00 00 00 00 00 |........|........|
|00005950| 00 00 00 00 1e 00 0d 00 | 0a 00 03 00 00 00 0a 00 |........|........|
|00005960| 00 00 00 00 00 00 00 00 | 20 00 0d 00 0a 00 03 00 |........| .......|
|00005970| 44 00 0a 00 00 00 00 00 | 00 00 00 02 63 00 0b 00 |D.......|....c...|
|00005980| 09 00 04 04 44 00 09 00 | 00 00 00 00 00 00 00 02 |....D...|........|
|00005990| 71 00 0b 00 09 00 04 00 | 44 00 09 00 00 00 00 00 |q.......|D.......|
|000059a0| 00 00 00 02 78 00 0b 00 | 09 00 04 04 44 00 09 00 |....x...|....D...|
|000059b0| 00 00 00 00 00 00 00 02 | 79 00 0b 00 09 00 04 00 |........|y.......|
|000059c0| 44 00 09 00 00 00 00 00 | 00 00 00 02 82 00 0b 00 |D.......|........|
|000059d0| 09 00 04 04 44 00 09 00 | 00 00 00 00 00 00 00 02 |....D...|........|
|000059e0| 89 00 0b 00 09 00 04 00 | 44 00 09 00 00 00 00 00 |........|D.......|
|000059f0| 00 00 00 02 90 00 0b 00 | 09 00 04 04 44 00 09 00 |........|....D...|
|00005a00| 00 00 00 00 00 00 00 02 | 97 00 0b 00 09 00 04 00 |........|........|
|00005a10| 44 00 09 00 00 00 00 00 | 00 00 00 05 19 00 0d 00 |D.......|........|
|00005a20| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 05 |....D...|........|
|00005a30| 1a 00 0d 00 0a 00 03 04 | 44 00 0a 00 00 00 00 00 |........|D.......|
|00005a40| 00 00 00 05 25 00 0d 00 | 0a 00 03 00 44 00 0a 00 |....%...|....D...|
|00005a50| 00 00 00 00 00 00 00 08 | 44 00 0d 00 0a 00 03 02 |........|D.......|
|00005a60| 44 00 0a 00 00 00 00 00 | 00 00 00 08 47 00 0d 00 |D.......|....G...|
|00005a70| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 09 |....D...|........|
|00005a80| 27 00 0d 00 0a 00 03 03 | 44 00 0a 00 00 00 00 00 |'.......|D.......|
|00005a90| 00 00 00 09 32 00 0d 00 | 0a 00 03 00 44 00 0a 00 |....2...|....D...|
|00005aa0| 00 00 00 00 00 00 00 09 | c8 00 0d 00 0a 00 03 03 |........|........|
|00005ab0| 44 00 0a 00 00 00 00 00 | 00 00 00 09 d3 00 0d 00 |D.......|........|
|00005ac0| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 0a |....D...|........|
|00005ad0| 68 00 0d 00 0a 00 03 04 | 44 00 0a 00 00 00 00 00 |h.......|D.......|
|00005ae0| 00 00 00 0a 77 00 0d 00 | 0a 00 03 00 44 00 0a 00 |....w...|....D...|
|00005af0| 00 00 00 00 00 00 00 0b | 6a 00 0d 00 0a 00 03 02 |........|j.......|
|00005b00| 44 00 0a 00 00 00 00 00 | 00 00 00 0b 74 00 0d 00 |D.......|....t...|
|00005b10| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 0c |....D...|........|
|00005b20| 5d 00 0d 00 0a 00 03 02 | 44 00 0a 00 00 00 00 00 |].......|D.......|
|00005b30| 00 00 00 0c 60 00 0d 00 | 0a 00 03 00 44 00 0a 00 |....`...|....D...|
|00005b40| 00 00 00 00 00 00 00 00 | b6 00 09 00 00 00 00 00 |........|........|
|00005b50| 10 00 0c 00 03 03 00 00 | 0c 00 00 00 00 00 00 00 |........|........|
|00005b60| 00 00 08 00 0d 00 0a 00 | 03 03 00 00 0a 00 00 00 |........|........|
|00005b70| 00 00 00 00 00 00 09 00 | 0d 00 0a 00 03 00 00 00 |........|........|
|00005b80| 0a 00 00 00 00 00 00 00 | 00 00 0b 00 0d 00 0a 00 |........|........|
|00005b90| 03 00 44 00 0a 00 00 00 | 00 00 00 00 00 01 39 00 |..D.....|......9.|
|00005ba0| 0b 00 09 00 04 00 44 00 | 09 00 00 00 00 00 00 00 |......D.|........|
|00005bb0| 00 01 3a 00 0b 00 09 00 | 04 04 44 00 09 00 00 00 |..:.....|..D.....|
|00005bc0| 00 00 00 00 00 01 42 00 | 0b 00 09 00 04 00 44 00 |......B.|......D.|
|00005bd0| 09 00 00 00 00 00 00 00 | 00 01 45 00 0b 00 09 00 |........|..E.....|
|00005be0| 04 04 44 00 09 00 00 00 | 00 00 00 00 00 01 62 00 |..D.....|......b.|
|00005bf0| 0b 00 09 00 04 00 44 00 | 09 00 00 00 00 00 00 00 |......D.|........|
|00005c00| 00 06 ba 00 56 00 00 00 | 00 00 10 00 0c 00 03 03 |....V...|........|
|00005c10| 00 00 0c 00 00 00 00 00 | 00 00 00 00 07 00 0d 00 |........|........|
|00005c20| 0a 00 03 03 00 00 0a 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c30| 08 00 0d 00 0a 00 03 00 | 00 00 0a 00 00 00 00 00 |........|........|
|00005c40| 00 00 00 00 0a 00 0d 00 | 0a 00 03 04 00 00 0a 00 |........|........|
|00005c50| 00 00 00 00 00 00 00 00 | 16 00 0d 00 0a 00 03 00 |........|........|
|00005c60| 00 00 0a 00 00 00 00 00 | 00 00 00 00 18 00 0d 00 |........|........|
|00005c70| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 03 |....D...|........|
|00005c80| 59 00 0d 00 0a 00 03 01 | 44 00 0a 00 00 00 00 00 |Y.......|D.......|
|00005c90| 00 00 00 03 5f 00 0d 00 | 0a 00 03 00 44 00 0a 00 |...._...|....D...|
|00005ca0| 00 00 00 00 00 00 00 09 | cf 00 0d 00 0a 00 03 04 |........|........|
|00005cb0| 44 00 0a 00 00 00 00 00 | 00 00 00 09 ef 00 0d 00 |D.......|........|
|00005cc0| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 0b |....D...|........|
|00005cd0| 22 00 0d 00 0a 00 03 01 | 44 00 0a 00 00 00 00 00 |".......|D.......|
|00005ce0| 00 00 00 0b 28 00 0d 00 | 0a 00 03 00 44 00 0a 00 |....(...|....D...|
|00005cf0| 00 00 00 00 00 00 00 0b | 2d 00 0d 00 0a 00 03 01 |........|-.......|
|00005d00| 44 00 0a 00 00 00 00 00 | 00 00 00 0b 33 00 0d 00 |D.......|....3...|
|00005d10| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 0b |....D...|........|
|00005d20| 88 00 0d 00 0a 00 03 04 | 44 00 0a 00 00 00 00 00 |........|D.......|
|00005d30| 00 00 00 0b 8f 00 0d 00 | 0a 00 03 00 44 00 0a 00 |........|....D...|
|00005d40| 00 00 00 00 00 00 00 0c | 79 00 0b 00 09 00 04 00 |........|y.......|
|00005d50| 44 00 09 00 00 00 00 00 | 00 00 00 0c d9 00 0d 00 |D.......|........|
|00005d60| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 0d |....D...|........|
|00005d70| 19 00 0d 00 0a 00 03 01 | 44 00 0a 00 00 00 00 00 |........|D.......|
|00005d80| 00 00 00 0d 1d 00 0d 00 | 0a 00 03 00 44 00 0a 00 |........|....D...|
|00005d90| 00 00 00 00 00 00 00 0d | 20 00 0d 00 0a 00 03 01 |........| .......|
|00005da0| 44 00 0a 00 00 00 00 00 | 00 00 00 0d 25 00 0d 00 |D.......|....%...|
|00005db0| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 0d |....D...|........|
|00005dc0| 5b 00 0b 00 09 00 04 00 | 44 00 09 00 00 00 00 00 |[.......|D.......|
|00005dd0| 00 00 00 0d 64 00 0b 00 | 09 00 04 01 44 00 09 00 |....d...|....D...|
|00005de0| 00 00 00 00 00 00 00 0d | 69 00 0b 00 09 00 04 00 |........|i.......|
|00005df0| 44 00 09 00 00 00 00 00 | 00 00 00 0d 88 00 0d 00 |D.......|........|
|00005e00| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 0d |....D...|........|
|00005e10| 93 00 0b 00 09 00 04 00 | 44 00 09 00 00 00 00 00 |........|D.......|
|00005e20| 00 00 00 0d 9c 00 0b 00 | 09 00 04 01 44 00 09 00 |........|....D...|
|00005e30| 00 00 00 00 00 00 00 0d | a1 00 0b 00 09 00 04 00 |........|........|
|00005e40| 44 00 09 00 00 00 00 00 | 00 00 00 0d b6 00 0d 00 |D.......|........|
|00005e50| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 0e |....D...|........|
|00005e60| 3b 00 0d 00 0a 00 03 01 | 44 00 0a 00 00 00 00 00 |;.......|D.......|
|00005e70| 00 00 00 0e 40 00 0d 00 | 0a 00 03 00 44 00 0a 00 |....@...|....D...|
|00005e80| 00 00 00 00 00 00 00 0e | 42 00 0b 00 09 00 04 00 |........|B.......|
|00005e90| 44 00 09 00 00 00 00 00 | 00 00 00 0e 4a 00 0b 00 |D.......|....J...|
|00005ea0| 09 00 04 01 44 00 09 00 | 00 00 00 00 00 00 00 0e |....D...|........|
|00005eb0| 4f 00 0b 00 09 00 04 00 | 44 00 09 00 00 00 00 00 |O.......|D.......|
|00005ec0| 00 00 00 0e 94 00 0d 00 | 0a 00 03 00 44 00 0a 00 |........|....D...|
|00005ed0| 00 00 00 00 00 00 00 0f | b2 00 0d 00 0a 00 03 02 |........|........|
|00005ee0| 44 00 0a 00 00 00 00 00 | 00 00 00 0f b9 00 0d 00 |D.......|........|
|00005ef0| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 0f |....D...|........|
|00005f00| d8 00 0d 00 0a 00 03 04 | 44 00 0a 00 00 00 00 00 |........|D.......|
|00005f10| 00 00 00 0f de 00 0d 00 | 0a 00 03 00 44 00 0a 00 |........|....D...|
|00005f20| 00 00 00 00 00 00 00 10 | 95 00 0b 00 09 00 04 00 |........|........|
|00005f30| 44 00 09 00 00 00 00 00 | 00 00 00 10 d1 00 0b 00 |D.......|........|
|00005f40| 09 00 04 01 44 00 09 00 | 00 00 00 00 00 00 00 10 |....D...|........|
|00005f50| d6 00 0b 00 09 00 04 00 | 44 00 09 00 00 00 00 00 |........|D.......|
|00005f60| 00 00 00 10 f4 00 0d 00 | 0a 00 03 00 44 00 0a 00 |........|....D...|
|00005f70| 00 00 00 00 00 00 00 11 | 46 00 0d 00 0a 00 03 02 |........|F.......|
|00005f80| 44 00 0a 00 00 00 00 00 | 00 00 00 11 4a 00 0d 00 |D.......|....J...|
|00005f90| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 14 |....D...|........|
|00005fa0| 0a 00 0d 00 0a 00 03 01 | 44 00 0a 00 00 00 00 00 |........|D.......|
|00005fb0| 00 00 00 14 0f 00 0d 00 | 0a 00 03 00 44 00 0a 00 |........|....D...|
|00005fc0| 00 00 00 00 00 00 00 14 | 2b 00 0b 00 09 00 04 00 |........|+.......|
|00005fd0| 44 00 09 00 00 00 00 00 | 00 00 00 14 3d 00 0b 00 |D.......|....=...|
|00005fe0| 09 00 04 01 44 00 09 00 | 00 00 00 00 00 00 00 14 |....D...|........|
|00005ff0| 42 00 0b 00 09 00 04 00 | 44 00 09 00 00 00 00 00 |B.......|D.......|
|00006000| 00 00 00 14 62 00 0b 00 | 09 00 04 01 44 00 09 00 |....b...|....D...|
|00006010| 00 00 00 00 00 00 00 14 | 67 00 0b 00 09 00 04 00 |........|g.......|
|00006020| 44 00 09 00 00 00 00 00 | 00 00 00 14 74 00 0d 00 |D.......|....t...|
|00006030| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 15 |....D...|........|
|00006040| 86 00 0d 00 0a 00 03 04 | 44 00 0a 00 00 00 00 00 |........|D.......|
|00006050| 00 00 00 15 87 00 0d 00 | 0a 00 03 00 44 00 0a 00 |........|....D...|
|00006060| 00 00 00 00 00 00 00 15 | b8 00 0d 00 0a 00 03 02 |........|........|
|00006070| 44 00 0a 00 00 00 00 00 | 00 00 00 15 c1 00 0d 00 |D.......|........|
|00006080| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 16 |....D...|........|
|00006090| c9 00 0b 00 09 00 04 00 | 44 00 09 00 00 00 00 00 |........|D.......|
|000060a0| 00 00 00 16 d2 00 0b 00 | 09 00 04 01 44 00 09 00 |........|....D...|
|000060b0| 00 00 00 00 00 00 00 16 | d7 00 0b 00 09 00 04 00 |........|........|
|000060c0| 44 00 09 00 00 00 00 00 | 00 00 00 17 0b 00 0b 00 |D.......|........|
|000060d0| 09 00 04 01 44 00 09 00 | 00 00 00 00 00 00 00 17 |....D...|........|
|000060e0| 10 00 0b 00 09 00 04 00 | 44 00 09 00 00 00 00 00 |........|D.......|
|000060f0| 00 00 00 17 35 00 0d 00 | 0a 00 03 00 44 00 0a 00 |....5...|....D...|
|00006100| 00 00 00 00 00 00 00 18 | 08 00 0b 00 09 00 04 00 |........|........|
|00006110| 44 00 09 00 00 00 00 00 | 00 00 00 18 42 00 0b 00 |D.......|....B...|
|00006120| 09 00 04 01 44 00 09 00 | 00 00 00 00 00 00 00 18 |....D...|........|
|00006130| 47 00 0b 00 09 00 04 00 | 44 00 09 00 00 00 00 00 |G.......|D.......|
|00006140| 00 00 00 18 73 00 0d 00 | 0a 00 03 00 44 00 0a 00 |....s...|....D...|
|00006150| 00 00 00 00 00 00 00 18 | 90 00 0d 00 0a 00 03 01 |........|........|
|00006160| 44 00 0a 00 00 00 00 00 | 00 00 00 18 95 00 0d 00 |D.......|........|
|00006170| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 18 |....D...|........|
|00006180| b9 00 0b 00 09 00 04 00 | 44 00 09 00 00 00 00 00 |........|D.......|
|00006190| 00 00 00 18 bc 00 0d 00 | 0a 00 03 00 44 00 0a 00 |........|....D...|
|000061a0| 00 00 00 00 00 00 00 1a | 3e 00 0d 00 0a 00 03 02 |........|>.......|
|000061b0| 44 00 0a 00 00 00 00 00 | 00 00 00 1a 45 00 0d 00 |D.......|....E...|
|000061c0| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 1c |....D...|........|
|000061d0| c6 00 0d 00 0a 00 03 01 | 44 00 0a 00 00 00 00 00 |........|D.......|
|000061e0| 00 00 00 1c cb 00 0d 00 | 0a 00 03 00 44 00 0a 00 |........|....D...|
|000061f0| 00 00 00 00 00 00 00 1c | d1 00 0b 00 09 00 04 00 |........|........|
|00006200| 44 00 09 00 00 00 00 00 | 00 00 00 1c da 00 0b 00 |D.......|........|
|00006210| 09 00 04 01 44 00 09 00 | 00 00 00 00 00 00 00 1c |....D...|........|
|00006220| df 00 0b 00 09 00 04 00 | 44 00 09 00 00 00 00 00 |........|D.......|
|00006230| 00 00 00 1c fa 00 0b 00 | 09 00 04 01 44 00 09 00 |........|....D...|
|00006240| 00 00 00 00 00 00 00 1c | ff 00 0b 00 09 00 04 00 |........|........|
|00006250| 44 00 09 00 00 00 00 00 | 00 00 00 1d 12 00 0d 00 |D.......|........|
|00006260| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 1d |....D...|........|
|00006270| 1a 00 0d 00 0a 00 03 01 | 44 00 0a 00 00 00 00 00 |........|D.......|
|00006280| 00 00 00 1d 1f 00 0d 00 | 0a 00 03 00 44 00 0a 00 |........|....D...|
|00006290| 00 00 00 00 00 00 00 1d | 9b 00 0d 00 0a 00 03 01 |........|........|
|000062a0| 44 00 0a 00 00 00 00 00 | 00 00 00 1d a0 00 0d 00 |D.......|........|
|000062b0| 0a 00 03 00 44 00 0a 00 | 00 00 00 00 00 00 00 00 |....D...|........|
|000062c0| f2 00 0c 00 00 00 00 00 | 10 00 0c 00 03 03 00 00 |........|........|
|000062d0| 0c 00 00 00 00 00 00 00 | 00 00 11 00 0d 00 0a 00 |........|........|
|000062e0| 03 03 00 00 0a 00 00 00 | 00 00 00 00 00 00 12 00 |........|........|
|000062f0| 0d 00 0a 00 03 00 00 00 | 0a 00 00 00 00 00 00 00 |........|........|
|00006300| 00 08 d4 00 0b 00 09 00 | 04 00 00 00 09 00 00 00 |........|........|
|00006310| 00 00 00 00 00 08 f3 00 | 0d 00 0a 00 03 00 00 00 |........|........|
|00006320| 0a 00 00 00 00 00 00 00 | 00 09 64 00 0b 00 09 00 |........|..d.....|
|00006330| 04 00 00 00 09 00 00 00 | 00 00 00 00 00 09 81 00 |........|........|
|00006340| 0d 00 0a 00 03 00 00 00 | 0a 00 00 00 00 00 00 00 |........|........|
|00006350| 00 0a 5c 00 0b 00 09 00 | 04 00 00 00 09 00 00 00 |..\.....|........|
|00006360| 00 00 00 00 00 0a 7b 00 | 0d 00 0a 00 03 00 00 00 |......{.|........|
|00006370| 0a 00 00 00 00 00 00 00 | 00 0a 9c 00 0b 00 09 00 |........|........|
|00006380| 04 00 00 00 09 00 00 00 | 00 00 00 00 00 0a b9 00 |........|........|
|00006390| 0d 00 0a 00 03 00 00 00 | 0a 00 00 00 00 00 00 00 |........|........|
|000063a0| 00 0d 34 00 0b 00 09 00 | 04 00 00 00 09 00 00 00 |..4.....|........|
|000063b0| 00 00 00 00 00 00 66 00 | 05 00 00 00 00 00 10 00 |......f.|........|
|000063c0| 0c 00 03 03 00 00 0c 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063d0| 0e 00 0d 00 0a 00 03 03 | 00 00 0a 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 0f 00 0d 00 | 0a 00 03 00 00 00 0a 00 |........|........|
|000063f0| 00 00 00 00 00 00 00 00 | f9 00 0d 00 0a 00 03 01 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.